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;