diff options
author | Peter Simons <simons@cryp.to> | 2020-05-08 11:14:36 +0200 |
---|---|---|
committer | Peter Simons <simons@cryp.to> | 2020-05-08 21:11:47 +0200 |
commit | 7a10ebe3612ac71232052124fad9f1a00f7d950f (patch) | |
tree | a9328875ec8e1a6a13dd33bbe40bb44b59731354 /pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | |
parent | 96ca16d0d812a39c28187dd12f2926f6ce1bd4cb (diff) | |
download | nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar.gz nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar.bz2 nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar.lz nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar.xz nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.tar.zst nixpkgs-7a10ebe3612ac71232052124fad9f1a00f7d950f.zip |
haskell-pantry: apply upstream patch to fix the build with ghc-8.10.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix index 7715705a27e..ff5f1e55063 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix @@ -138,4 +138,12 @@ self: super: { ghc-lib-parser-ex = addBuildDepend super.ghc-lib-parser-ex super.ghc-lib-parser; }; + # https://github.com/commercialhaskell/pantry/issues/21 + pantry = appendPatch super.pantry (pkgs.fetchpatch { + name = "add-cabal-3.2.x-support.patch"; + url = "https://patch-diff.githubusercontent.com/raw/commercialhaskell/pantry/pull/22.patch"; + sha256 = "198hsfjsy83s7rp71llf05cwa3vkm74g73djg5p4sk4awm9s6vf2"; + excludes = ["package.yaml"]; + }); + } |