haskell-snap: jailbreak to fix build with network 2.6.x

This commit is contained in:
Peter Simons 2014-10-14 15:10:26 +02:00
parent 104e010ed1
commit ccbdf31164

View File

@ -17,7 +17,7 @@ cabal.mkDerivation (self: {
];
configureFlags = "-fopenssl";
patchPhase = ''
sed -i -e 's|HsOpenSSL >= .*|HsOpenSSL|' snap-server.cabal
sed -i -e 's|HsOpenSSL >= .*|HsOpenSSL|' -e 's|network.*2.6,|network,|' snap-server.cabal
'';
meta = {
homepage = "http://snapframework.com/";