nixpkgs/pkgs/development/compilers/ghcjs-ng/common-overrides.nix
Will Fancher c41675bce0 GHCJS 8.2
2018-05-12 01:54:42 -04:00

9 lines
347 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 = appendConfigureFlag (doJailbreak super.ghcjs) "-fno-wrapper-install";
haddock-library-ghcjs = dontHaddock super.haddock-library-ghcjs;
}