[Git][ghc/ghc][wip/andreask/hls_fix] Hadrian: When executing the cygpath executable include .exe ending for executable path
Andreas Klebinger pushed to branch wip/andreask/hls_fix at Glasgow Haskell Compiler / GHC Commits: 4c5ccef4 by Andreas Klebinger at 2025-12-15T15:04:30+01:00 Hadrian: When executing the cygpath executable include .exe ending for executable path - - - - - 1 changed file: - hadrian/src/Hadrian/Oracles/Path.hs Changes: ===================================== hadrian/src/Hadrian/Oracles/Path.hs ===================================== @@ -45,7 +45,7 @@ type instance RuleResult WindowsPath = String pathOracle :: Rules () pathOracle = do void $ addOracleCache $ \(WindowsPath path) -> do - Stdout out <- quietly $ cmd ["cygpath", "-m", path] + Stdout out <- quietly $ cmd ["cygpath" <.> exe, "-m", path] let windowsPath = unifyPath $ dropWhileEnd isSpace out putVerbose $ "| Windows path mapping: " ++ path ++ " => " ++ windowsPath return windowsPath View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c5ccef4c0061f392803e70bdfca7724... -- View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/4c5ccef4c0061f392803e70bdfca7724... You're receiving this email because of your account on gitlab.haskell.org.
participants (1)
-
Andreas Klebinger (@AndreasK)