diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-08-20 12:20:39 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-08-20 12:48:04 +0200 |
commit | 4ad395f0c91f53c9e9df445b85dd6dee181bb877 (patch) | |
tree | 37162a9349120300c0c4387306ad7fcedff7fc23 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | |
parent | ff6962c8299e626fa4d20f18f29f2b7467399009 (diff) | |
download | nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar.gz nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar.bz2 nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar.lz nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar.xz nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.tar.zst nixlib-4ad395f0c91f53c9e9df445b85dd6dee181bb877.zip |
cabal-install: adapt to changes for 3.8.1.0
https://github.com/haskell/cabal/blob/cabal-install-v3.8.1.0/release-notes/cabal-install-3.8.1.0.md
Diffstat (limited to 'pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix index a5914433a448..4eecb9a4075b 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix @@ -49,9 +49,11 @@ self: super: { # still the case when updating: https://gitlab.haskell.org/ghc/ghc/-/blob/0198841877f6f04269d6050892b98b5c3807ce4c/ghc.mk#L463 xhtml = if self.ghc.hasHaddock or true then null else self.xhtml_3000_2_2_1; - # cabal-install needs more recent versions of Cabal and base16-bytestring. - cabal-install = (doJailbreak super.cabal-install).overrideScope (self: super: { - Cabal = self.Cabal_3_6_3_0; + # cabal-install needs the latest/matching versions of Cabal-syntax and Cabal + cabal-install = super.cabal-install.overrideScope (self: super: { + Cabal = self.Cabal_3_8_1_0; + Cabal-syntax = self.Cabal-syntax_3_8_1_0; + process = self.process_1_6_15_0; }); # Jailbreaks & Version Updates |