From 9391f0912ffc9b01cdd11ae125a56b44574d257e Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Thu, 29 Mar 2018 11:09:33 +0200 Subject: [PATCH] haskell-flexible-defaults: apply patch to fix build with ghc 8.4.1 --- .../development/haskell-modules/configuration-ghc-8.4.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix index ec9215175f8..244ee9215d3 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix @@ -643,4 +643,10 @@ self: super: { sha256 = "0j859vclcfnz8n2mw466mv00kjsa9gdbrppjc1m3b68jbypdmfvr"; }); + # Contributed by Bertram Felgenhauer . + flexible-defaults = appendPatch super.flexible-defaults (pkgs.fetchpatch { + url = https://raw.githubusercontent.com/lambdabot/lambdabot/ghc-8.4.1/patches/flexible-defaults-0.0.1.2.patch; + sha256 = "1bpsqq80h6nxm04wddgcgyzn0fjfsmhccmqb211jqswv5209znx8"; + }); + }