From 666dac71ac18e313912525733a74d7c995dcdec6 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 18 Sep 2019 15:13:27 +0000 Subject: [PATCH] haskell-string-qq: patch the build to succeed when compiling with ghc-8.8.x --- .../haskell-modules/configuration-ghc-8.8.x.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix index 799f8cc37b42..143e7259d583 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -170,4 +170,14 @@ self: super: { # Upstream ships a broken Setup.hs file. csv = overrideCabal super.csv (drv: { prePatch = "rm Setup.hs"; }); + # Upstream ships a broken Setup.hs file. + string-qq = overrideSrc (dontCheck super.string-qq) { + src = pkgs.fetchFromGitHub { + owner = "dmwit"; + repo = "string-qq"; + rev = "b396f5ef36a9b23f1d3fafcc91f2222cd1ad24fe"; + sha256 = "1z2f1yry8wi0jb38dgz7rl89zl63fhngf7xk4ljw240vn315jj8s"; + }; + }; + }