summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2017-12-19 23:38:29 +0100
committerPeter Simons <simons@cryp.to>2017-12-20 09:17:46 +0100
commitdba09a202b69540be3c1780a9fde04ff84551aa2 (patch)
tree363373af186f27cee56cc8dfa949f2a579873551 /pkgs/development/haskell-modules/configuration-common.nix
parent4ab89998918f615c05010ab2f05ec2b52e76bbcf (diff)
downloadnixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.gz
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.bz2
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.lz
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.xz
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.tar.zst
nixpkgs-dba09a202b69540be3c1780a9fde04ff84551aa2.zip
stack: jailbreak to fix broken build in LTS-10.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix10
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 960cab95211..36e4765ef8b 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; };