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
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 ];
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 =