[Nix-dev] "nix-env -i sdl-env" trouble

Vladimír Čunát vcunat at gmail.com
Sat Feb 23 12:06:11 CET 2013


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 at 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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3251 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20130223/115c0313/attachment.bin 


More information about the nix-dev mailing list