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>2022-08-27 10:02:59 +0200
committersternenseemann <sternenseemann@systemli.org>2022-08-27 10:02:59 +0200
commitf6b35ce8e318bfe31ace8b9954a0aa58972030f7 (patch)
tree1f81caeb79843414488ce1b8ee6ae99dc56c5083 /pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
parent42e16cc0c000828930a9acdd4ba5a05d033d5f50 (diff)
haskellPackages.cabal-install-solver: allow building directly
This is a dependency of cabal-install and builds by virtue of its
overrideScope. We also want to make sure it builds independently, so
that it doesn't get marked as broken at the very least.
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.nix5
1 files changed, 5 insertions, 0 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 4eecb9a4075bb..c5585825c382b 100644
--- a/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
+++ b/pkgs/development/haskell-modules/configuration-ghc-9.0.x.nix
@@ -55,6 +55,11 @@ self: super: {
     Cabal-syntax = self.Cabal-syntax_3_8_1_0;
     process = self.process_1_6_15_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_15_0;
+  });
 
   # Jailbreaks & Version Updates