Re: [Nix-dev] nixops - nix-channel per machine

2015-07-27 Thread Tomas Hlavaty
I got the _module.args.pkgs to (almost) work but I think it somehow mixes up the two nixpkgs versions (running on unstable, overriding _module.args.pkgs to stable): error: attribute ‘ipset’ missing, at

Re: [Nix-dev] nixops - nix-channel per machine

2015-07-27 Thread Tomas Hlavaty
Hi Rob Nicolas, thank you for your suggestions. The option -I nixpkgs=/path/to/your/nixpkgs sets the nixpkgs globally for nixops. That is not what I need. I have tried using nixops set-attrs, but that is also doesn't allow me to use stable for one machine and unstable for the other. Maybe

Re: [Nix-dev] Tex rebuild after unstable update

2015-07-27 Thread Eelco Dolstra
Hi, On 27/07/15 13:50, Matthias Beyer wrote: I had two nixos-unstable updates in the last two days and both times I had to rebuild tex from source. Any hints where to start investigation on this? If you mean TeXlive: it's not built by Hydra anymore due to its size

Re: [Nix-dev] Tex rebuild after unstable update

2015-07-27 Thread Vladimír Čunát
On 07/27/2015 03:16 PM, Matthias Beyer wrote: I don't want to rebuild texlive all the time... Managing it by nix-env is the easiest way. You can update it explicitly when you want. Vladimir smime.p7s Description: S/MIME Cryptographic Signature ___

Re: [Nix-dev] Tex rebuild after unstable update

2015-07-27 Thread Eelco Dolstra
Hi, On 27/07/15 15:16, Matthias Beyer wrote: oh, that's sad. Can I somehow pin the local package to a specific commit in the nixpkgs tree? You can probably do something like (untested): environment.systemPackages = [ (import (fetchTarball

Re: [Nix-dev] mxe on NixOS

2015-07-27 Thread Andrew Kelley
On Mon, Jul 27, 2015 at 1:36 AM Luca Bruno lethalma...@gmail.com wrote: On 27/07/2015 07:36, Andrew Kelley wrote: mxe (M Cross Environment) is a way to cross compile for Windows. It's a pretty great project. There's one hitch when using it on NixOS. I guess it expects

Re: [Nix-dev] mxe on NixOS

2015-07-27 Thread James Cook
You are trying to build something outside of a nix build environment. Instead of calling make ecc. like you do on every other distro, in Nix things are very different. You should write a .nix file describing how the package should build and build it. It will be easier. Also 99% of the times

Re: [Nix-dev] nixops - nix-channel per machine

2015-07-27 Thread Nicolas Pierron
The problem of using the `_module.args.pkgs` is that you have the NixOS module system of the nix-channel, but the package resolution of the version that you specified. The error that you are seeing is that the latest module might use a package which got packaged/renamed recently. Strangely

Re: [Nix-dev] Nix-env error

2015-07-27 Thread Colin Putney
On Fri, Jul 24, 2015 at 11:16 PM, James Cook james.c...@utoronto.ca wrote: I can't reproduce this at commit 554cbe9. The only thing that comes to mind is per-user configuration such as ~/.nixpkgs/config.nix, if you're sharing that between your computers. If that's a possibility, I guess you

Re: [Nix-dev] mxe on NixOS

2015-07-27 Thread Luca Bruno
On 27/07/2015 07:36, Andrew Kelley wrote: mxe (M Cross Environment) is a way to cross compile for Windows. It's a pretty great project. There's one hitch when using it on NixOS. I guess it expects /usr/share/aclocal/pkg.m4 to exist for some reason. I don't completely understand it and I'm