I can find haskell packages via nix-env
:
nix-enf -f "<nixpkgs>" -qaP -A haskellPackages
...
yet when I try and install them using environment.systemPackages
in /etc/nixos/configuration.nix
:
environment.systemPackages = with pkgs; [
haskellPackages.haskellPlatform
];
I get the error:
error: attribute 'haskellPlatform' missing, at /etc/nixos/configuration.nix:54:5
Any ideas? I am intending on using xmonad and want to do haskell dev'.