1
0
Fork 0
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:
John Ericson 2024-08-20 12:35:57 -04:00 committed by GitHub
commit af26fe3934
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
9 changed files with 62 additions and 63 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;
}