about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-common.nix
diff options
context:
space:
mode:
authorrnhmjoj <rnhmjoj@inventati.org>2018-12-30 10:31:42 +0100
committerrnhmjoj <rnhmjoj@inventati.org>2019-02-09 09:16:25 +0100
commit287d1de51a8270994c316f94dad4a1089ed88b51 (patch)
treecf1b541fefc9b5336a2a5706afc6514e3e123438 /pkgs/development/haskell-modules/configuration-common.nix
parent3fa313d46d05da87d10722817ea5f2a29989fc82 (diff)
downloadnixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar.gz
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar.bz2
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar.lz
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar.xz
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.tar.zst
nixlib-287d1de51a8270994c316f94dad4a1089ed88b51.zip
haskellPackages.scat: fix build
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-common.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index c5ddd18ff49b..e60a05b1f70f 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1203,4 +1203,13 @@ self: super: {
     sha256 = "0lrcmcrxp9imj9rfaq7mb0fn9mxms4gq4sz95n4san3dpd0qmj9x";
     stripLen = 1;
     });
+
+  # Fix for base >= 4.11
+  scat = overrideCabal super.scat (drv: {
+    patches = [(pkgs.fetchpatch {
+      url    = "https://github.com/redelmann/scat/pull/6.diff";
+      sha256 = "07nj2p0kg05livhgp1hkkdph0j0a6lb216f8x348qjasy0lzbfhl";
+    })];
+  });
+
 } // import ./configuration-tensorflow.nix {inherit pkgs haskellLib;} self super