1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-06-25 10:41:16 +02:00

libexpr: add C bindings

This commit is contained in:
Yorick van Pelt 2023-07-14 15:53:30 +02:00 committed by José Luis Lafuente
parent 1d41600498
commit e76652a5d3
No known key found for this signature in database
GPG key ID: 8A3455EBE455489A
10 changed files with 1527 additions and 1 deletions

View file

@ -897,6 +897,10 @@ void Value::mkStringMove(const char * s, const NixStringContext & context)
copyContextToValue(*this, context);
}
void Value::mkPath(std::string_view path)
{
mkPath(makeImmutableString(path));
}
void Value::mkPath(const SourcePath & path)
{