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

9 lines
361 B
Nix
Raw Normal View History

2018-05-12 05:06:47 +00: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 07:09:22 +00:00
ghcjs = dontHaddock (appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install");
2018-05-12 05:06:47 +00:00
haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs;
}