diff options
author | Peter Simons <simons@cryp.to> | 2017-12-29 17:39:16 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-12-31 09:31:03 +0100 |
commit | ab3a12ed7ee0de4d247a8017151a1bf01829f6f7 (patch) | |
tree | 006f2b301f95d8c13fa126636af1104a819c307e /pkgs/development/haskell-modules/configuration-common.nix | |
parent | 238d57484636ed0f57bdb7f6f8cebf02e58ee8c3 (diff) | |
download | nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar.gz nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar.bz2 nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar.lz nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar.xz nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.tar.zst nixlib-ab3a12ed7ee0de4d247a8017151a1bf01829f6f7.zip |
darcs: switch build to GHC 8.0.2 to fix it
Also, jailbreak the constraint on unix-compat <5.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index b208d2781be7..3f6a2e55cb7b 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -1015,7 +1015,9 @@ self: super: { # https://github.com/haskell/cabal/issues/4969 haddock-library_1_4_4 = dontHaddock super.haddock-library_1_4_4; + haddock-api = super.haddock-api.override { haddock-library = self.haddock-library_1_4_4; }; + + # Jailbreak "unix-compat >=0.1.2 && <0.5". + darcs = overrideCabal super.darcs (drv: { preConfigure = "sed -i -e 's/unix-compat .*,/unix-compat,/' darcs.cabal"; }); - haddock-api = super.haddock-api.override - { haddock-library = self.haddock-library_1_4_4; }; } |