summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2021-04-27 06:55:49 -0400
committerShea Levy <shea@shealevy.com>2021-04-27 08:44:22 -0400
commit55f5842f1b5a669b5e2d43d6366680e513851319 (patch)
tree2cab123a2bf6621766c155257c738b09cd87f01b /pkgs/development/haskell-modules/configuration-common.nix
parenta170bff89a638a7c27b84a4cdfd62ef599fe5b11 (diff)
downloadnixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar.gz
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar.bz2
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar.lz
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar.xz
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.tar.zst
nixpkgs-55f5842f1b5a669b5e2d43d6366680e513851319.zip
haskellPackages.HTF: Fix testsuite and mark unbroken in configuration.
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix5
1 files changed, 4 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 552e35b9c36..d22e7caf3d4 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -284,7 +284,10 @@ self: super: {
   hsbencher = dontCheck super.hsbencher;
   hsexif = dontCheck super.hsexif;
   hspec-server = dontCheck super.hspec-server;
-  HTF = dontCheck super.HTF;
+  HTF = overrideCabal super.HTF (orig: {
+    # The scripts in scripts/ are needed to build the test suite.
+    preBuild = "patchShebangs --build scripts";
+  });
   htsn = dontCheck super.htsn;
   htsn-import = dontCheck super.htsn-import;
   http-link-header = dontCheck super.http-link-header; # non deterministic failure https://hydra.nixos.org/build/75041105