From 9b4cd7c36b8e9fb19bcfc21e48016eac6ab7174c Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Wed, 18 Sep 2019 15:13:27 +0000 Subject: [PATCH] haskell-csv: patch the build to succeed when compiling with ghc-8.8.x --- pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 3 +++ 1 file changed, 3 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 314c11e245d..9626c9f8920 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,7 @@ self: super: { # https://github.com/sol/hpack/issues/371 hpack = markBrokenVersion "0.32.0" super.hpack; + # Upstream ships a broken Setup.hs file. + csv = overrideCabal super.csv (drv: { prePatch = "rm Setup.hs"; }); + }