haskell-json: patch to fix the build with ghc-8.4.x
commitc044a82caf5a07e439b712a4fa0ac291ea3dd906
authorPeter Simons <simons@cryp.to>
dateSat 17 Mar 2018, 20:59 (9 years ago)
parent148646e
pkgs/development/haskell-modules/configuration-ghc-8.4.x.nix+6
@@ -690,6 +690,12 @@ self: super: {
690690 };
691691 };
692692
693+ # Fix missing semigroup instance.
694+ json = appendPatch super.json (pkgs.fetchpatch
695+ { url = https://github.com/GaloisInc/json/commit/9292150bbe02c2d126ad6a876242578b1a9d1bf2.patch;
696+ sha256 = "1xw2gab0wzhszgcbjhg98kkzgnbfn9n3bx1qlk6g7ir6hhwppm9z";
697+ });
698+
693699 # Older versions don't compile.
694700 brick = self.brick_0_35;
695701 timezone-olson = self.timezone-olson_0_1_9;