diff options
author | sternenseemann <sternenseemann@systemli.org> | 2022-08-27 10:02:59 +0200 |
---|---|---|
committer | sternenseemann <sternenseemann@systemli.org> | 2022-08-27 10:02:59 +0200 |
commit | f6b35ce8e318bfe31ace8b9954a0aa58972030f7 (patch) | |
tree | 1f81caeb79843414488ce1b8ee6ae99dc56c5083 /pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | |
parent | 42e16cc0c000828930a9acdd4ba5a05d033d5f50 (diff) | |
download | nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar.gz nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar.bz2 nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar.lz nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar.xz nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.tar.zst nixlib-f6b35ce8e318bfe31ace8b9954a0aa58972030f7.zip |
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-8.8.x.nix')
-rw-r--r-- | pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix | 5 |
1 files changed, 5 insertions, 0 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 f1041debf0b5..1f82ecebd647 100644 --- a/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix +++ b/pkgs/development/haskell-modules/configuration-ghc-8.8.x.nix @@ -60,6 +60,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; + }); # Ignore overly restrictive upper version bounds. aeson-diff = doJailbreak super.aeson-diff; |