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

9 lines
361 B
Nix
Raw Normal View History

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