4

Specifically, I'm trying to install Haste through nix.

I can see a hasteCompiler entry in nixpkgs/pkgs/top-level/haskell-packages.nix, and the appropriate .nix file in nixpkgs/pkgs/development/libraries/haskell/haste-compiler/ but I'm not sure how to install it. Specifically, none of

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

do what I want, and nix-env -qa doesn't list anything containing the substring haste as an available package.

Any thoughts?

imz -- Ivan Zakharyaschev
  • 4,921
  • 6
  • 53
  • 104
Inaimathi
  • 13,853
  • 9
  • 49
  • 93

1 Answers1

3

haste-compiler is marked "broken":

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

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

allowBroken = true;

Itai Zukerman
  • 483
  • 2
  • 7