haskellPackages.Cabal_3_8_1_0: allow building directly

Depending on this of course may spell trouble if one also depends on
process or Cabal-syntax (transitively).
This commit is contained in:
sternenseemann 2022-08-27 10:01:54 +02:00
parent 83ef7d40be
commit 42e16cc0c0

View File

@ -993,6 +993,12 @@ self: super: builtins.intersectAttrs super {
# Wants to execute cabal-install to (re-)build itself
hint = dontCheck super.hint;
# Make sure that Cabal 3.8.* can be built as-is
Cabal_3_8_1_0 = doDistribute (super.Cabal_3_8_1_0.override {
Cabal-syntax = self.Cabal-syntax_3_8_1_0;
process = self.process_1_6_15_0;
});
# cabal-install switched to build type simple in 3.2.0.0
# as a result, the cabal(1) man page is no longer installed
# automatically. Instead we need to use the `cabal man`