Skip to content

Commit

Permalink
Require version 3,11 of Cabal to support --semaphore flag
Browse files Browse the repository at this point in the history
  • Loading branch information
mpickering committed Aug 30, 2023
1 parent 41225bb commit f0a2d9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cabal-install/src/Distribution/Client/ProjectPlanning.hs
Original file line number Diff line number Diff line change
Expand Up @@ -4294,7 +4294,7 @@ setupHsBuildFlags par_strat elab _ verbosity builddir =
, buildDistPref = toFlag builddir
, buildNumJobs = mempty -- TODO: [nice to have] sometimes want to use toFlag (Just numBuildJobs),
, buildUseSemaphore =
if elabSetupScriptCliVersion elab >= mkVersion [3, 9, 0, 0]
if elabSetupScriptCliVersion elab >= mkVersion [3, 11, 0, 0]
then par_strat
else mempty
, buildArgs = mempty -- unused, passed via args not flags
Expand Down

0 comments on commit f0a2d9e

Please sign in to comment.