nixpkgs-suyu/pkgs/development/compilers/ghcjs-ng/common-overrides.nix
2018-05-16 03:11:32 -04:00

8 lines
361 B
Nix

{ haskellLib, alex, happy }:
let inherit (haskellLib) addBuildTools appendConfigureFlag dontHaddock doJailbreak;
in self: super: {
ghc-api-ghcjs = addBuildTools super.ghc-api-ghcjs [alex happy];
ghcjs = dontHaddock (appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install");
haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs;
}