[Nix-dev] "nix-env -i sdl-env" trouble
Bjørn Forsman
bjorn.forsman at gmail.com
Sat Feb 23 11:15:20 CET 2013
On 23 February 2013 10:56, Vladimír Čunát <vcunat at gmail.com> wrote:
> On 02/23/2013 10:51 AM, Bjørn Forsman wrote:
>>
>> name = "sdl";
>
>> [bfo at nixos:~]$ nix-env -i sdl-env
>> error: selector `sdl-env' matches no derivations
>
>
> IMO you have a different name.
Thanks, but I don't think that's it.
1) I copied it from this example
https://github.com/nbp/Nixpkgs/blob/master/pkgs/misc/my-env/default.nix.
If name should be "sdl-env" then the example is wrong and I don't
understand how it could have worked before.
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?
Best regards,
Bjørn Forsman
More information about the nix-dev
mailing list