Skip to content

Commit

Permalink
Fix setupProgFile on Windows
Browse files Browse the repository at this point in the history
  • Loading branch information
andreabedini committed Mar 25, 2024
1 parent 8187919 commit 79aee2b
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions cabal-install/src/Distribution/Client/SetupWrapper.hs
Original file line number Diff line number Diff line change
Expand Up @@ -686,6 +686,7 @@ getExternalSetupMethod verbosity options pkgId bt = do
return (cabalLibVersion, ExternalMethod path', options'')
where
setupDir = workingDir options </> useDistPref options </> "setup"
setupProgFile = setupDir </> "setup" <.> exeExtension buildPlatform

useCachedSetupExecutable :: BuildType -> Bool
useCachedSetupExecutable bt = (bt == Simple || bt == Configure || bt == Make)
Expand Down

0 comments on commit 79aee2b

Please sign in to comment.