From 7bcfdc1c1173322ad5f8363e1d987de2d9d597de Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Fri, 16 Jun 2017 14:40:12 +0200 Subject: [PATCH] stack: build with hpack version 0.17.x --- pkgs/development/haskell-modules/configuration-common.nix | 1 + pkgs/development/haskell-modules/configuration-hackage2nix.yaml | 1 + 2 files changed, 2 insertions(+) diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix index 7b7099db0df..464ea25aee1 100644 --- a/pkgs/development/haskell-modules/configuration-common.nix +++ b/pkgs/development/haskell-modules/configuration-common.nix @@ -682,6 +682,7 @@ self: super: { stack = super.stack.overrideScope (self: super: { store-core = self.store-core_0_3; store = self.store_0_3_1; + hpack = self.hpack_0_17_1; }); # It makes no sense to have intero-nix-shim in Hackage, so we publish it here only. diff --git a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml index e4741017b1f..493181ea16c 100644 --- a/pkgs/development/haskell-modules/configuration-hackage2nix.yaml +++ b/pkgs/development/haskell-modules/configuration-hackage2nix.yaml @@ -2445,6 +2445,7 @@ extra-packages: - haddock-api == 2.16.* # required on GHC 7.10.x - haddock-library == 1.2.* # required for haddock-api-2.16.x - haskell-src-exts == 1.18.* # required by hoogle-5.0.4 + - hpack < 0.18 # required by stack-1.4.0 - mtl < 2.2 # newer versions require transformers > 0.4.x, which we cannot provide in GHC 7.8.x - mtl-prelude < 2 # required for to build postgrest on mtl 2.1.x platforms - parallel == 3.2.0.3 # newer versions don't work with GHC 6.12.3