git.iko.soy/typeable/nixpkgs
on master help sign in
build jailbreak-cabal on GHC 8.0.x
commit88f9fb7c21f8dad560a9576f85dff376201d0e20 authorJude Taylor <me@jude.bio> dateWed 13 Jan 2016, 14:06 (11 years ago) parentc6ad484
1 file changed+22
pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix+22
pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix+22
@@ -29,4 +29,26 @@ self: super: {
2929 transformers = null;
3030 unix = null;
3131 xhtml = null;
32+
33+ Cabal_1_23_0_0 = overrideCabal super.Cabal_1_22_4_0 (drv: {
34+ version = "1.23.0.0";
35+ src = pkgs.fetchFromGitHub {
36+ owner = "haskell";
37+ repo = "cabal";
38+ rev = "18fcd9c1aaeddd9d10a25e44c0e986c9889f06a7";
39+ sha256 = "1bakw7h5qadjhqbkmwijg3588mjnpvdhrn8lqg8wq485cfcv6vn3";
40+ };
41+ jailbreak = false;
42+ doHaddock = false;
43+ postUnpack = "sourceRoot+=/Cabal";
44+ postPatch = ''
45+ setupCompileFlags+=" -DMIN_VERSION_binary_0_8_0=1"
46+ '';
47+ });
48+ jailbreak-cabal = super.jailbreak-cabal.override {
49+ Cabal = self.Cabal_1_23_0_0;
50+ mkDerivation = drv: self.mkDerivation (drv // {
51+ preConfigure = "sed -i -e 's/Cabal == 1.20\\.\\*/Cabal >= 1.23/' jailbreak-cabal.cabal";
52+ });
53+ };
3254}