From 4c66ebb0d1b2a195851b7c52658dc258c851df38 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 22 Dec 2017 13:31:35 -0500 Subject: hadoop-rpc: Fix build on ghc 8.2 --- pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'pkgs') diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix index 2d3833fb2d88..b42bc8ff3428 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.2.x.nix @@ -75,4 +75,13 @@ self: super: { # https://github.com/alanz/ghc-exactprint/pull/60 ghc-exactprint = dontCheck super.ghc-exactprint; + # Reduction stack overflow; size = 38 + # https://github.com/jystic/hadoop-tools/issues/31 + hadoop-rpc = + let patch = pkgs.fetchpatch + { url = https://github.com/shlevy/hadoop-tools/commit/f03a46cd15ce3796932c3382e48bcbb04a6ee102.patch; + sha256 = "09ls54zy6gx84fmzwgvx18ssgm740cwq6ds70p0p125phi54agcp"; + stripLen = 1; + }; + in appendPatch super.hadoop-rpc patch; } -- cgit 1.4.1