mirror of
https://github.com/NixOS/nix.git
synced 2025-11-09 12:06:01 +01:00
libexpr: add C bindings
This commit is contained in:
parent
1d41600498
commit
e76652a5d3
10 changed files with 1527 additions and 1 deletions
|
|
@ -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)
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue