mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-25 03:17:13 +00:00
9 lines
361 B
Nix
9 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;
|
|
}
|