mirror of
https://github.com/NixOS/nix.git
synced 2025-11-28 13:11:00 +01:00
Use std::filesystem::path instead of Path in libexpr.
This commit is contained in:
parent
2e262c6685
commit
e761a9fb6d
1 changed files with 1 additions and 1 deletions
|
|
@ -384,7 +384,7 @@ path_start
|
||||||
std::string_view($1.p, $1.l)
|
std::string_view($1.p, $1.l)
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
Path path(getHome() + std::string($1.p + 1, $1.l - 1));
|
Path path(getHome().string() + std::string($1.p + 1, $1.l - 1));
|
||||||
$$ = state->exprs.add<ExprPath>(state->exprs.alloc, ref<SourceAccessor>(state->rootFS), path);
|
$$ = state->exprs.add<ExprPath>(state->exprs.alloc, ref<SourceAccessor>(state->rootFS), path);
|
||||||
}
|
}
|
||||||
;
|
;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue