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

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