1
1
Fork 0
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:
Ubuntu 2025-11-26 00:22:26 +00:00 committed by John Ericson
parent 2e262c6685
commit e761a9fb6d

View file

@ -384,7 +384,7 @@ path_start
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);
}
;