about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-03-17 20:59:42 +0100
committerPeter Simons <simons@cryp.to>2018-03-17 21:16:49 +0100
commitc044a82caf5a07e439b712a4fa0ac291ea3dd906 (patch)
tree1ff6eb12b0bc5500580821ef163d0bc82bedd141 /pkgs/development/haskell-modules
parent148646e6305a468da30f1b912f3fbba643fa9798 (diff)
downloadnixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar.gz
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar.bz2
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar.lz
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar.xz
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.tar.zst
nixlib-c044a82caf5a07e439b712a4fa0ac291ea3dd906.zip
haskell-json: patch to fix the build with ghc-8.4.x
Diffstat (limited to 'pkgs/development/haskell-modules')
-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 0bbcf2745b27..23f25f17f6c3 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix
@@ -690,6 +690,12 @@ self: super: {
     };
   };
 
+  # Fix missing semigroup instance.
+  json = appendPatch super.json (pkgs.fetchpatch
+    { url = https://github.com/GaloisInc/json/commit/9292150bbe02c2d126ad6a876242578b1a9d1bf2.patch;
+      sha256 = "1xw2gab0wzhszgcbjhg98kkzgnbfn9n3bx1qlk6g7ir6hhwppm9z";
+    });
+
   # Older versions don't compile.
   brick = self.brick_0_35;
   timezone-olson = self.timezone-olson_0_1_9;