From a36040de7053bd0eacd308b94dbcbf3cb3c1f7b6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 15 Nov 2012 12:43:50 +0100 Subject: [PATCH] haskell-liblastfm: drop version restrictions on 'urldecoded' and 'curl' to fix build --- pkgs/development/libraries/haskell/liblastfm/default.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/development/libraries/haskell/liblastfm/default.nix b/pkgs/development/libraries/haskell/liblastfm/default.nix index 17489b157a2b..70ba29830c68 100644 --- a/pkgs/development/libraries/haskell/liblastfm/default.nix +++ b/pkgs/development/libraries/haskell/liblastfm/default.nix @@ -7,6 +7,9 @@ cabal.mkDerivation (self: { buildDepends = [ aeson curl mtl pureMD5 urlencoded utf8String xml ]; + patchPhase = '' + sed -i -e 's|curl == .*,|curl,|' -e 's|urlencoded .*,|urlencoded,|' liblastfm.cabal + ''; meta = { description = "Wrapper to Lastfm API"; license = self.stdenv.lib.licenses.mit;