Re: [Nix-dev] nix-env -i can't find package override I defined

2015-02-22 Thread Kirill Elagin
It's not really that straightforward, because `nix-env` is a part of Nix, but `configuration.nix` is a configuration of NixOS. Those are two different projects. Furthermore, it is not really correct to say that “`nix-env` reads” or “does not read” `configuration.nix`. It reads the expression it

Re: [Nix-dev] nix-env -i can't find package override I defined

2015-02-22 Thread Bjørn Forsman
22. feb. 2015 08:29 skrev Cody Goodman codygman.consult...@gmail.com følgende: [...] For some reason nix can't seem to find it... ~ $ grep -A3 helloEnv /etc/nixos/configuration.nix 53: helloEnv = pkgs.myEnvFun { 54-name = someEnvName; 55-buildInputs = [ hello ];

[Nix-dev] nix-env -i can't find package override I defined

2015-02-21 Thread Cody Goodman
I have the following in my configuration.nix and I'm using NixOS 15.05pre58123.9775f46 and tracking the unstable channel: packageOverrides = pkgs: with pkgs; { helloEnv = pkgs.myEnvFun { name = someEnvName; buildInputs = [ hello ]; }; sdlEnv =