diff options
author | Will Fancher <elvishjerricco@gmail.com> | 2018-05-12 01:06:47 -0400 |
---|---|---|
committer | Will Fancher <elvishjerricco@gmail.com> | 2018-05-12 01:54:42 -0400 |
commit | c41675bce0ce3eb4d79180c804892e8e3c268e55 (patch) | |
tree | 5a2c8fcd3833c71867e7591475dc97ef9f1ede77 /pkgs/development/compilers/ghcjs-ng/common-overrides.nix | |
parent | 0a77a728954460725a7346d6f180283048ed77c2 (diff) | |
download | nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar.gz nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar.bz2 nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar.lz nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar.xz nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.tar.zst nixlib-c41675bce0ce3eb4d79180c804892e8e3c268e55.zip |
GHCJS 8.2
Diffstat (limited to 'pkgs/development/compilers/ghcjs-ng/common-overrides.nix')
-rw-r--r-- | pkgs/development/compilers/ghcjs-ng/common-overrides.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/compilers/ghcjs-ng/common-overrides.nix b/pkgs/development/compilers/ghcjs-ng/common-overrides.nix new file mode 100644 index 000000000000..172a48a5a654 --- /dev/null +++ b/pkgs/development/compilers/ghcjs-ng/common-overrides.nix @@ -0,0 +1,8 @@ +{ 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; +} |