mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
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:
parent
911d9d5b1b
commit
80d39a273e
1 changed files with 3 additions and 0 deletions
|
@ -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";
|
||||
|
|
Loading…
Reference in a new issue