summary refs log tree commit diff
path: root/pkgs/development
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2018-01-26 11:04:13 +0100
committerPeter Simons <simons@cryp.to>2018-01-26 13:01:12 +0100
commitf8776eabdd07d4a37c9aa4bb817554371385f571 (patch)
tree7932171ffa29567a12f0df8fe968572f17840685 /pkgs/development
parent4ec557eea91d26b63d0463ec1e188f31a6f929f2 (diff)
downloadnixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar.gz
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar.bz2
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar.lz
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar.xz
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.tar.zst
nixlib-f8776eabdd07d4a37c9aa4bb817554371385f571.zip
cabal2nix: build with latest version of hpack
Diffstat (limited to 'pkgs/development')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 0323356d2101..74331d46a8ba 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -605,7 +605,8 @@ self: super: {
     haskell-src-exts = self.haskell-src-exts_1_20_1;
   };
 
-  # Needs newer version of its dependencies than we have in LTS-10.x.
+  # Need newer versions of their dependencies than the ones we have in LTS-10.x.
+  cabal2nix = super.cabal2nix.override { hpack = self.hpack_0_22_0; };
   hlint = super.hlint.overrideScope (self: super: { haskell-src-exts = self.haskell-src-exts_1_20_1; });
 
   # https://github.com/bos/configurator/issues/22