about summary refs log tree commit diff
path: root/pkgs/development/haskell-modules/configuration-ghc-8.8.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-8.8.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-8.8.x.nix')
-rw-r--r--pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix12
1 files changed, 0 insertions, 12 deletions
diff --git a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
index 54ce00760c2c..389bbd308124 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix
@@ -54,18 +54,6 @@ self: super: {
   # This build needs a newer version of Cabal.
   cabal2spec = super.cabal2spec.override { Cabal = self.Cabal_3_2_1_0; };
 
-  # cabal-install needs most recent versions of Cabal and Cabal-syntax
-  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;
-  });
-
   # Additionally depends on OneTuple for GHC < 9.0
   base-compat-batteries = addBuildDepend self.OneTuple super.base-compat-batteries;