diff options
author | Peter Simons <simons@cryp.to> | 2017-12-19 23:38:29 +0100 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2017-12-20 09:17:46 +0100 |
commit | dba09a202b69540be3c1780a9fde04ff84551aa2 (patch) | |
tree | 363373af186f27cee56cc8dfa949f2a579873551 /pkgs/development/haskell-modules | |
parent | 4ab89998918f615c05010ab2f05ec2b52e76bbcf (diff) | |
download | nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.gz nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.bz2 nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.lz nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.xz nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.zst nixlib-dba09a202b69540be3c1780a9fde04ff84551aa2.zip |
stack: jailbreak to fix broken build in LTS-10.x
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-common.nix | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 960cab95211c..36e4765ef8ba 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -961,14 +961,8 @@ self: super: { testToolDepends = drv.testToolDepends or [] ++ [pkgs.procps]; }); - # Newer hpack's needs newer HUnit, but we cannot easily override the version - # used in the build, so we take the easy way out and disable the test suite. - hpack_0_20_0 = dontCheck super.hpack_0_20_0; - - # Stack 1.6.1 needs newer versions than LTS-9 provides. - stack = super.stack.overrideScope (self: super: { - hpack = super.hpack_0_20_0; - }); + # https://github.com/fpco/stackage/issues/3126 + stack = doJailbreak super.stack; # Hoogle needs a newer version than lts-10 provides. hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_20_1; }; |