haskell-snap-server: jailbreak to fix build with recent versions of 'text'

https://github.com/snapframework/snap-server/issues/58
This commit is contained in:
Peter Simons 2014-10-31 13:45:00 +01:00
parent 239e9cda01
commit 79e1d7f7cc

View File

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