diff --git a/pkgs/development/libraries/haskell/network-transport-tcp/default.nix b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix index f4cab5090166..728a40d8d3e6 100644 --- a/pkgs/development/libraries/haskell/network-transport-tcp/default.nix +++ b/pkgs/development/libraries/haskell/network-transport-tcp/default.nix @@ -9,7 +9,9 @@ cabal.mkDerivation (self: { buildDepends = [ dataAccessor network networkTransport ]; testDepends = [ network networkTransport networkTransportTests ]; doCheck = false; - jailbreak = true; + patchPhase = '' + sed -i -e 's|network >=.*,|network,|' -e 's|network >=.*|network|' network-transport-tcp.cabal + ''; meta = { homepage = "http://haskell-distributed.github.com"; description = "TCP instantiation of Network.Transport";