From 30f0faa3c43d66257501e9aed47260e0eccb9e45 Mon Sep 17 00:00:00 2001 From: Rebecca Turner Date: Mon, 30 Sep 2024 15:35:16 -0700 Subject: [PATCH] fixup! fixup! Build test suites explicitly --- cabal-validate/src/Cli.hs | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/cabal-validate/src/Cli.hs b/cabal-validate/src/Cli.hs index fed3661a937..ef01d907594 100644 --- a/cabal-validate/src/Cli.hs +++ b/cabal-validate/src/Cli.hs @@ -204,10 +204,13 @@ resolveOpts opts = do , "Cabal-QuickCheck" , "Cabal-tree-diff" , "Cabal-described" - , "cabal-install" - , "cabal-install-solver" - , "cabal-benchmarks" ] + , optionals + (not (rawLibOnly opts)) + [ "cabal-install" + , "cabal-install-solver" + , "cabal-benchmarks" + ] , optionals (rawSolverBenchmarks opts) [ "solver-benchmarks"