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>2018-07-20 09:13:04 +0200
committerGitHub <noreply@github.com>2018-07-20 09:13:04 +0200
commit65d209811a8886485c67e4b842f3a1e29b521da1 (patch)
tree1ef89cf469972cd40a172eac8b22c7770c682f68 /pkgs/development/haskell-modules/configuration-common.nix
parent31d1d3d166c16ea8946fd3c9d320761a38d44c86 (diff)
parenta16b7dfb6a7fe8c9fead846751ed738e7faaadf4 (diff)
downloadnixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar.gz
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar.bz2
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar.lz
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar.xz
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.tar.zst
nixlib-65d209811a8886485c67e4b842f3a1e29b521da1.zip
Merge pull request #43509 from dtzWill/fix/hpc-coveralls-patch
hpc-coveralls: patch to fix build (for Cabal 2.2)
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix6
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 1d83126f41b3..c8d4000f2349 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1102,4 +1102,10 @@ self: super: {
   unix-time = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.unix-time else super.unix-time;
   # dontCheck: printf double rounding behavior
   prettyprinter = if pkgs.stdenv.hostPlatform.isMusl then dontCheck super.prettyprinter else super.prettyprinter;
+
+  # Fix with Cabal 2.2, https://github.com/guillaume-nargeot/hpc-coveralls/pull/73
+  hpc-coveralls = appendPatch super.hpc-coveralls (pkgs.fetchpatch {
+    url = "https://github.com/guillaume-nargeot/hpc-coveralls/pull/73/commits/344217f513b7adfb9037f73026f5d928be98d07f.patch";
+    sha256 = "056rk58v9h114mjx62f41x971xn9p3nhsazcf9zrcyxh1ymrdm8j";
+  });
 }