Install Haskell packages through Nix

In particular, I am trying to install Haste through nix.

I can see the entry hasteCompilerin nixpkgs/pkgs/top-level/haskell-packages.nixand the corresponding .nixfile in nixpkgs/pkgs/development/libraries/haskell/haste-compiler/, but I'm not sure how to install it. In particular, none of

nix-env -i haste
nix-env -i haste-compiler
nix-env -i haskell-haste-compiler

do what I want and it nix-env -qadoesn't list anything containing the substring hasteas an available package.

Any thoughts?

+4
source share
1 answer

The haste component is marked as broken:

https://github.com/NixOS/nixpkgs/commit/37b1a0b79abd1d02d5618417b951cf02ef4f6a49

To override, put this in your .nixpkgs/config.nix:

allowBroken = true;

+3

All Articles