haskellPackages.cabal-install.scope.vector: don't pull in doctest

doctest depends on GHC which triggers inconsistent dependencies
similarly to hspec* < 2.10, so we need to avoid this. This problem newly
cropped up since we enabled tests for vector in #222190.
This commit is contained in:
sternenseemann
2023-03-27 14:18:37 +02:00
parent 4c75508d6e
commit e9c1dac2ab
@@ -70,9 +70,9 @@ self: super: {
# are overridden to take the versioned attributes as inputs, we need
# to make sure to override the versioned attribute with this fix.
hspec-discover_2_10_10 = dontCheck csuper.hspec-discover_2_10_10;
} // lib.optionalAttrs (lib.versions.majorMinor self.ghc.version == "8.10") {
# Prevent dependency on doctest which causes an inconsistent dependency
# due to depending on ghc-8.10.7 (with bundled process) vs. process 1.6.16.0
# due to depending on ghc which depends on directory etc.
vector = dontCheck csuper.vector;
};
in