[Nix-dev] Notes and ideas about the Nix-UI proposal

Oliver Charles ollie at ocharles.org.uk
Mon Jan 25 18:26:37 CET 2016


On Mon, Jan 25, 2016 at 3:46 PM Thomas Hunger <tehunger at gmail.com> wrote:

> The most common mistake I make is:
>
> nix-env -iA pythonPackages.ipython
> error: attribute ‘pythonPackages’ in selection path
> ‘pythonPackages.ipython’ not found
> (should be nix-env -iA nixpkgs.pythonPackages.ipython)
>

I don't think `nixpkgs` should be made implicit to these commands, and your
problem can be fixed by changing your NIX_PATH. Your NIX_PATH at the moment
presumably just stops at `/channels`. If you change that to
`/channels/nixpkgs`, then I believe nix-env -iA pythonPackages.ipython will
just work.

ocharles
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20160125/3c3d9b0d/attachment.html 


More information about the nix-dev mailing list