On Mon, Jan 25, 2016 at 3:46 PM Thomas Hunger <[email protected]> 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
_______________________________________________
nix-dev mailing list
[email protected]
http://lists.science.uu.nl/mailman/listinfo/nix-dev

Reply via email to