mirror of
https://github.com/NixOS/nix
synced 2025-07-05 16:31:47 +02:00
Merge pull request #11281 from siddhantk232/path-in-exec
Use `std::filesystem::path` in end executables
This commit is contained in:
commit
af26fe3934
9 changed files with 62 additions and 63 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