git.iko.soy/typeable/nixpkgs
on master help sign in
cabal2nix: update hpack override to the new version
commit08f48236d20a61a5ab4da1428d7db19bbdb5832f authorPeter Simons <simons@cryp.to> dateWed 15 Aug 2018, 09:34 (8 years ago) parent782e96e
1 file changed+9−10
pkgs/development/haskell-modules/configuration-common.nix+9−10
pkgs/development/haskell-modules/configuration-common.nix+9−10
@@ -1073,16 +1073,15 @@ self: super: {
10731073
10741074 # cabal2nix requires hpack >= 0.29.6 but the LTS has hpack-0.28.2.
10751075 # Lets remove this once the LTS has upraded to 0.29.6.
1076− hpack = super.hpack_0_29_6;
1077−
1078− cabal2nix =
1079− # The test suite does not know how to find the 'cabal2nix' binary.
1080− overrideCabal super.cabal2nix (drv: {
1081− preCheck = ''
1082− export PATH="$PWD/dist/build/cabal2nix:$PATH"
1083− export HOME="$TMPDIR/home"
1084− '';
1085− });
1076+ hpack = super.hpack_0_29_7;
1077+
1078+ # The test suite does not know how to find the 'cabal2nix' binary.
1079+ cabal2nix = overrideCabal super.cabal2nix (drv: {
1080+ preCheck = ''
1081+ export PATH="$PWD/dist/build/cabal2nix:$PATH"
1082+ export HOME="$TMPDIR/home"
1083+ '';
1084+ });
10861085
10871086 # Break out of "aeson <1.3, temporary <1.3".
10881087 stack = doJailbreak super.stack;