summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-03-17 21:00:56 +0100
committerPeter Simons <simons@cryp.to>2018-03-17 21:16:49 +0100
commit13b154aee44bbb55060bfd40c7fc293821919159 (patch)
tree1535fdd167e5bb496abdc42a6aca5201997b8cd8 /pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
parentb8ab77c1f0e84699f904497b5308f3391331d770 (diff)
downloadnixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar.gz
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar.bz2
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar.lz
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar.xz
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.tar.zst
nixlib-13b154aee44bbb55060bfd40c7fc293821919159.zip
haskell-data-inttrie: patch to fix the build with ghc-8.4.x
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix6
1 files changed, 6 insertions, 0 deletions
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 765dd3386181..1f2f2e246500 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
@@ -673,6 +673,12 @@ self: super: {
       stripLen = 1;
     });
 
+  # Fix missing semigroup instance.
+  data-inttrie = appendPatch super.data-inttrie (pkgs.fetchpatch
+    { url = https://github.com/luqui/data-inttrie/pull/5.patch;
+      sha256 = "1wwdzrbsjqb7ih4nl28sq5bbj125mxf93a74yh4viv5gmxwj606a";
+    });
+
   # 1.3.0.0 does not compile.
   conduit = self.conduit_1_3_0_1;