From 9a7ba4e7a92ef9c992eb7f1a566682f9f1ddb1c5 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 21 Apr 2017 09:47:38 +0200 Subject: [PATCH] haskell-stack: fix build by passing an old version of "store" --- pkgs/development/haskell-modules/configuration-common.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 17c0601e032..9d689d5394a 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -686,8 +686,12 @@ self: super: { then appendConfigureFlag super.gtk "-fhave-quartz-gtk" else super.gtk; - # https://github.com/commercialhaskell/stack/issues/3001 - stack = doJailbreak super.stack; + # The stack people don't bother making their own code compile in an LTS-based + # environment: https://github.com/commercialhaskell/stack/issues/3001. + stack = super.stack.overrideScope (self: super: { + store-core = self.store-core_0_3; + store = self.store_0_3_1; + }); # The latest Hoogle needs versions not yet in LTS Haskell 7.x. hoogle = super.hoogle.override { haskell-src-exts = self.haskell-src-exts_1_19_1; };