From 69c09c47e65ac220d9306687feb79544aeb2567a Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 12 Dec 2016 15:22:07 +0100 Subject: [PATCH] stack: version 1.3.x needs aeson 1.x to compile --- pkgs/development/haskell-modules/configuration-common.nix | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 5c575c36205..0feb7b0c47a 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -994,13 +994,14 @@ self: super: { ''; }); - # https://github.com/commercialhaskell/stack/issues/2263 + # The most current version needs some packages to build that are not in LTS 7.x. stack = super.stack.overrideScope (self: super: { http-client = self.http-client_0_5_4; http-client-tls = self.http-client-tls_0_3_3; http-conduit = self.http-conduit_2_2_3; optparse-applicative = dontCheck self.optparse-applicative_0_13_0_0; criterion = super.criterion.override { inherit (super) optparse-applicative; }; + aeson = self.aeson_1_0_2_1; }); # The latest Hoogle needs versions not yet in LTS Haskell 7.x.