I am following this guide to set up nix and haskell-ng. But when I get to the step
nix-env -iA nixpkgs.haskellEnv
then I get the error:
error: attribute ‘nixpkgs’ in selection path ‘nixpkgs.haskellEnv’ not found
Any idea what is going wrong?
I am following this guide to set up nix and haskell-ng. But when I get to the step
nix-env -iA nixpkgs.haskellEnv
then I get the error:
error: attribute ‘nixpkgs’ in selection path ‘nixpkgs.haskellEnv’ not found
Any idea what is going wrong?
The command
nix-env -f "<nixpkgs>" -iA haskellEnv
should work.Citing from http://nixos.org/nixpkgs/manual/#users-guide-to-the-haskell-infrastructure: