git.iko.soy/typeable/nixpkgs
on master help sign in
stack: update default version to 1.6.1

Allow building with either ghc 8.0.x or 8.2.x.

commitee3d43f978693d8438243cc4ae955d60b6185bba authorPeter Simons <simons@cryp.to> dateMon 11 Dec 2017, 14:34 (9 years ago) parentb0ca52b
2 files changed+14
pkgs/development/haskell-modules/configuration-common.nix+11 pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix+3
pkgs/development/haskell-modules/configuration-common.nix+11
@@ -1005,4 +1005,15 @@ self: super: {
10051005 hpack_0_20_0 = dontCheck super.hpack_0_20_0;
10061006 hpack_0_21_0 = dontCheck super.hpack_0_21_0;
10071007
1008+ # Stack 1.6.1 needs newer versions than LTS-9 provides.
1009+ stack = super.stack.overrideScope (self: super: {
1010+ ansi-terminal = self.ansi-terminal_0_7_1_1;
1011+ ansi-wl-pprint = self.ansi-wl-pprint_0_6_8_1;
1012+ extra = dontCheck super.extra_1_6_2;
1013+ hpack = super.hpack_0_20_0;
1014+ path = dontCheck super.path_0_6_1;
1015+ path-io = self.path-io_1_3_3;
1016+ unliftio = self.unliftio_0_2_0_0;
1017+ });
1018+
10081019}
pkgs/development/haskell-modules/configuration-ghc-8.0.x.nix+3
@@ -62,4 +62,7 @@ self: super: {
6262 # This builds needs the latest Cabal version.
6363 cabal2nix = super.cabal2nix.overrideScope (self: super: { Cabal = self.Cabal_2_0_1_1; });
6464
65+ # Add appropriate Cabal library to build this code.
66+ stack = addSetupDepend super.stack self.Cabal_2_0_1_1;
67+
6568}