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

10 lines
412 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;
2019-03-24 03:47:06 +01:00
system-fileio = doJailbreak super.system-fileio;
2018-05-12 07:06:47 +02:00
}