-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
On Windows dropExeExtension doesn't actually drop the exe extension. We have splitExtension "foo.exe" == ("foo", ".exe") but the code is expecting just "exe" for the extension field. Among other things this makes guessToolFromGhcPath behave unexpectedly. Since takeVersionSuffix can't see past the extension the `null suf` case in mkGuesses will trigger which causes the versioned program path candidates to not be looked for.
- Loading branch information
Showing
2 changed files
with
12 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters