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:
parent
67a54d47c5
commit
84ea12ad7f
5 changed files with 31 additions and 32 deletions
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue