nixpkgs/pkgs/development/compilers/ghcjs-ng/common-overrides.nix

9 lines
361 B
Nix
Raw Normal View History

2018-05-12 07:06:47 +02:00
{ haskellLib, alex, happy }:
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak;
in self: super: {
ghc-api-ghcjs = addBuildTools super.ghc-api-ghcjs [alex happy];
2018-05-16 09:09:22 +02:00
ghcjs = dontHaddock (appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install");
2018-05-12 07:06:47 +02:00
haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs;
}