HTTP-4000.2.13: patch Cabal file to declare FlexibleContexts extension to fix the build with ghc-head

https://github.com/haskell/HTTP/issues/62
This commit is contained in:
Peter Simons 2014-05-04 13:37:15 +02:00
parent 911d9d5b1b
commit 80d39a273e

View file

@ -14,6 +14,9 @@ cabal.mkDerivation (self: {
];
jailbreak = true;
doCheck = false;
preConfigure = self.stdenv.lib.optional (self.stdenv.lib.versionOlder "7.9" self.ghc.version) ''
sed -i -e 's|Extensions: |Extensions: FlexibleContexts, |' HTTP.cabal
'';
meta = {
homepage = "https://github.com/haskell/HTTP";
description = "A library for client-side HTTP";