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>2015-06-25 14:05:56 +0200
committerPeter Simons <simons@cryp.to>2015-06-25 14:14:07 +0200
commitec08cb90367b276432f7c90d30365c4d2208d31e (patch)
treeae6bf4b6f3ab742883c8a76123da3f9840d83ee5 /pkgs/development/haskell-modules/configuration-common.nix
parent160e342dbd11e8b53f8793c46db99abd0ec8a442 (diff)
downloadnixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar.gz
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar.bz2
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar.lz
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar.xz
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.tar.zst
nixlib-ec08cb90367b276432f7c90d30365c4d2208d31e.zip
haskell-stack: disable failing test suite
Works around https://github.com/commercialhaskell/stack/issues/408 and
https://github.com/commercialhaskell/stack/issues/409. Closes
https://github.com/NixOS/nixpkgs/pull/8497.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix4
1 files changed, 4 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 50bf89c30014..4954e5b01c9e 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -880,4 +880,8 @@ self: super: {
   wai-session = markBroken super.wai-session;
   serversession-frontend-wai = dontDistribute super.serversession-frontend-wai;
 
+  # https://github.com/commercialhaskell/stack/issues/408
+  # https://github.com/commercialhaskell/stack/issues/409
+  stack = overrideCabal super.stack (drv: { preCheck = "export HOME=$TMPDIR"; doCheck = false; });
+
 }