On 02/23/2013 11:15 AM, Bjørn Forsman wrote:
2) I changed the name to "sdl-env" but it's no good:

   [bfo@nixos:~]$ nix-env -i sdl-env
   error: selector `sdl-env' matches no derivations

Hm. Doesn't my nix-env read ~/.nixpkgs/config.nix?

I added your code int o my ~/.nixpkgs/config.nix

$ nix-env -iA sdlEnv --dry-run
(dry run; not doing anything)
installing `env-sdl'
these derivations will be built:
[...]

OK now? I don't use it myself so didn't realize that myEnvFun changes the name :-)


Vlada

Attachment: smime.p7s
Description: S/MIME Cryptographic Signature

_______________________________________________
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to