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

Bjørn Forsman bjorn.forsman at gmail.com
Sat Feb 23 12:46:50 CET 2013


On 23 February 2013 12:28, Vladimír Čunát <vcunat at gmail.com> wrote:
> On 02/23/2013 12:20 PM, Bjørn Forsman wrote:
>>
>> So by running "nix-env -i env-sdl" (not sdl-env) it works!
>
> Yes, I found that too and thought it's seen from the log I sent...

Yes it does. I had *just* gotten back from IRQ and I guess I didn't
read you post thoroughly :-)  BTW, thanks for helping me.

> but by
> attribute name it should also work (and it's usually more practical).
> Perhaps you've changed the attribute name...

I changed it to "sdl-env" at one point and then changed it back to "sdl". Still

  $ nix-env -iA sdlEnv
  error: attribute `sdlEnv' in selection path `sdlEnv' not found

I don't really care right now, since installing without -A works, but
if you have some ideas on why this doesn't work on my machine I am
willing to give them a try :-)

Anyway, I've sent a pull request on github so that the next NixOS
newbie doesn't get bit by this small bug/typo too:

https://github.com/NixOS/nixpkgs/pull/333

Best regards,
Bjørn Forsman


More information about the nix-dev mailing list