mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
Replace Path with std::filesystem::path in libfetchers.
This commit is contained in:
parent
e761a9fb6d
commit
f0390758dd
15 changed files with 72 additions and 70 deletions
|
|
@ -174,7 +174,7 @@ struct DarwinDerivationBuilder : DerivationBuilderImpl
|
|||
/* The tmpDir in scope points at the temporary build directory for our derivation. Some packages try different
|
||||
mechanisms to find temporary directories, so we want to open up a broader place for them to put their files,
|
||||
if needed. */
|
||||
Path globalTmpDir = canonPath(defaultTempDir(), true);
|
||||
Path globalTmpDir = canonPath(defaultTempDir().string(), true);
|
||||
|
||||
/* They don't like trailing slashes on subpath directives */
|
||||
while (!globalTmpDir.empty() && globalTmpDir.back() == '/')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue