From c044a82caf5a07e439b712a4fa0ac291ea3dd906 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Sat, 17 Mar 2018 20:59:42 +0100 Subject: [PATCH] haskell-json: patch to fix the build with ghc-8.4.x --- .../development/haskell-modules/configuration-ghc-8.4.x.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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 0bbcf2745b2..23f25f17f6c 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;