about summary refs log tree commit diff
path: root/pkgs
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2016-06-08 19:13:52 +0100
committerobadz <obadz-git@obadz.com>2016-06-08 19:14:27 +0100
commitd13378ffd16561f8fc4d37215ef0e3c6030b4a82 (patch)
tree85ee93595f886c55503babf75b028feedd071c05 /pkgs
parent1201cc569cfbce66d39b748af40e94498f97b899 (diff)
downloadnixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar.gz
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar.bz2
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar.lz
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar.xz
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.tar.zst
nixlib-d13378ffd16561f8fc4d37215ef0e3c6030b4a82.zip
haskellPackages.libmpd: remove upper bound on time
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 39146965b0f4..b5ccb3d8f3a0 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1029,4 +1029,11 @@ self: super: {
 
   # Tests fail with "Couldn't launch intero process."
   intero = dontCheck super.intero;
+
+  # libmpd has an upper-bound on time which doesn't seem to be a real build req
+  libmpd = dontCheck (overrideCabal super.libmpd (drv: {
+    postPatch = (drv.postPatch or "") + ''
+      substituteInPlace ./libmpd.cabal --replace "time >=1.5 && <1.6" "time >=1.5"
+    '';
+  }));
 }