summaryrefslogtreecommitdiffstats
path: root/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2020-12-25 20:14:42 +0100
committerPeter Simons <simons@cryp.to>2020-12-25 20:42:36 +0100
commit7963b444ca6a3d93ae05ef04cec4d31e55fa44d8 (patch)
tree2b21e46515d60a437eb276df3f0ad74bf34f76c2 /pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
parent2db65a5d1e824fe139bac98704e132de29d44f69 (diff)
haskell-ListLike: patch to fix the build with ghc-8.10.3
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.nix6
1 files changed, 6 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 60d3f4232464..8e53303e9feb 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.10.x.nix
@@ -83,6 +83,12 @@ self: super: {
sha256 = "0rgzrq0513nlc1vw7nw4km4bcwn4ivxcgi33jly4a7n3c1r32v1f";
});
+ # Version 4.7.2 is broken by the bytestring library shipped by ghc-8.10.3.
+ ListLike = appendPatch super.ListLike (pkgs.fetchpatch {
+ url = "https://gitlab.haskell.org/ghc/head.hackage/-/raw/master/patches/ListLike-4.7.2.patch";
+ sha256 = "1v392a74w0sxyn6x0bqixpmjbgla0i2b5hxzkcn1vaa3gaya7ag4";
+ });
+
# hnix 0.9.0 does not provide an executable for ghc < 8.10, so define completions here for now.
hnix = generateOptparseApplicativeCompletion "hnix"
(overrideCabal super.hnix (drv: {