summary refs log tree commit diff
path: root/pkgs/development/haskell-modules
diff options
context:
space:
mode:
authorMichael Alan Dorman <mdorman@ironicdesign.com>2020-04-17 08:29:46 -0400
committerPeter Simons <simons@cryp.to>2020-04-17 20:50:48 +0200
commitd59d157ad93aa7cddd4751e7807dc73ee9b39962 (patch)
tree1ee01c9c7409bb4d65d65b8b3a29fe2a14a5dd1c /pkgs/development/haskell-modules
parentb95534aaea9bef9257e4725ebf2abe59e3611539 (diff)
downloadnixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar.gz
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar.bz2
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar.lz
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar.xz
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.tar.zst
nixpkgs-d59d157ad93aa7cddd4751e7807dc73ee9b39962.zip
cabal-install-parsers: update Cabal dependency
This also unbreaks `haskell-ci`.
Diffstat (limited to 'pkgs/development/haskell-modules')
-rw-r--r--pkgs/development/haskell-modules/configuration-common.nix9
1 files changed, 6 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-common.nix b/pkgs/development/haskell-modules/configuration-common.nix
index 866b856864b..29fcd5c7167 100644
--- a/pkgs/development/haskell-modules/configuration-common.nix
+++ b/pkgs/development/haskell-modules/configuration-common.nix
@@ -1453,9 +1453,12 @@ self: super: {
   # details.
   cryptonite = dontCheck super.cryptonite;
 
-  # The test suite depends on an impure cabal-install installation
-  # in $HOME, which we don't have in our build sandbox.
-  cabal-install-parsers = dontCheck super.cabal-install-parsers;
+  # The test suite depends on an impure cabal-install installation in
+  # $HOME, which we don't have in our build sandbox, and it is keeping
+  # up with the most recent Cabal version.
+  cabal-install-parsers = dontCheck (super.cabal-install-parsers.overrideScope (self: super: {
+    Cabal = self.Cabal_3_2_0_0;
+  }));
 
   # haskell-ci-0.8 needs cabal-install-parsers ==0.1, but we have 0.2.
   haskell-ci = doJailbreak super.haskell-ci;