about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
diff options
context:
space:
mode:
authorsternenseemann <sternenseemann@systemli.org>2023-02-18 19:18:05 +0100
committersternenseemann <sternenseemann@systemli.org>2023-02-18 21:55:25 +0100
commitbdbfe10efbaef3e26926d5741633857d6e5674c3 (patch)
tree3f6e8ca481ee6e35b98ae8538bc14cd259207304 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent1a26447738504041b80f182c1ec3e0322275bf3b (diff)
downloadnixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar.gz
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar.bz2
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar.lz
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar.xz
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.tar.zst
nixlib-bdbfe10efbaef3e26926d5741633857d6e5674c3.zip
haskell.packages.*.cabal-install{,-solver}: unify overrides
Since the overrides are practically the same for all but the latest GHC
version, we can move the override into configuration-common.nix and rely
on a few conditionals in the overlay assembly — and end up with less
copying around!
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.nix12
1 files changed, 0 insertions, 12 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 7f2ca4a1a5e8..6e347a76db0e 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -49,18 +49,6 @@ 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 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_16_0;
-  });
-  cabal-install-solver = super.cabal-install-solver.overrideScope (self: super: {
-    Cabal = self.Cabal_3_8_1_0;
-    Cabal-syntax = self.Cabal-syntax_3_8_1_0;
-    process = self.process_1_6_16_0;
-  });
-
   # Jailbreaks & Version Updates
 
   # This `doJailbreak` can be removed once the following PR is released to Hackage: