summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorJustin Humm <justin.humm@posteo.de>2020-07-19 13:46:41 +0200
committerJustin Humm <justin.humm@posteo.de>2020-08-17 21:36:54 +0200
commitac3de2a6c7f13418b2e67701c360ecbab910b3ba (patch)
treeff14224f10a34f7f32995e23ba6ad6a2cdbca145 /pkgs/development/haskell-modules/configuration-common.nix
parent66526604cf114b406b2d3e7b78022c71e5fd0158 (diff)
downloadnixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar.gz
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar.bz2
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar.lz
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar.xz
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.tar.zst
nixpkgs-ac3de2a6c7f13418b2e67701c360ecbab910b3ba.zip
haskellPackages.hcoord: fix build
Increase version bounds for a hcoord dependency [0]. Also disable
checks, as upstream doesn't include the necessary files in the release
tarball [1].

[0] https://github.com/danfran/hcoord/pull/8/
[1] https://github.com/danfran/hcoord/issues/9
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 30053675fca..cdcc24d7e62 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1433,6 +1433,18 @@ self: super: {
   # https://github.com/bos/statistics/issues/170
   statistics = dontCheck super.statistics;
 
+  hcoord = overrideCabal super.hcoord (drv: {
+    # Remove when https://github.com/danfran/hcoord/pull/8 is merged.
+    patches = [
+      (pkgs.fetchpatch {
+        url = "https://github.com/danfran/hcoord/pull/8/commits/762738b9e4284139f5c21f553667a9975bad688e.patch";
+        sha256 = "03r4jg9a6xh7w3jz3g4bs7ff35wa4rrmjgcggq51y0jc1sjqvhyz";
+      })
+    ];
+    # Remove when https://github.com/danfran/hcoord/issues/9 is closed.
+    doCheck = false;
+  });
+
   # INSERT NEW OVERRIDES ABOVE THIS LINE
 
 } // (let