1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 14:51:16 +02:00

Fix build errors on Windows

This commit is contained in:
John Ericson 2024-08-19 11:02:46 -04:00
parent 67a54d47c5
commit 84ea12ad7f
5 changed files with 31 additions and 32 deletions

View file

@ -86,7 +86,7 @@ fs::path ExecutablePath::findPath(const fs::path & exe, std::function<bool(const
if (resOpt)
return *resOpt;
else
throw ExecutableLookupError("Could not find executable '%s'", exe.native());
throw ExecutableLookupError("Could not find executable '%s'", exe.string());
} else {
return exe;
}