From d13378ffd16561f8fc4d37215ef0e3c6030b4a82 Mon Sep 17 00:00:00 2001 From: obadz Date: Wed, 8 Jun 2016 19:13:52 +0100 Subject: [PATCH] haskellPackages.libmpd: remove upper bound on time --- pkgs/development/haskell-modules/configuration-common.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 39146965b0f..b5ccb3d8f3a 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" + ''; + })); }