mirror of
https://github.com/NixOS/nix
synced 2025-06-28 09:31:16 +02:00
Restructure installables handling in the "nix" command
This commit is contained in:
parent
1bb87c0487
commit
bcecc99007
9 changed files with 265 additions and 132 deletions
|
@ -220,6 +220,14 @@ static inline void mkApp(Value & v, Value & left, Value & right)
|
|||
}
|
||||
|
||||
|
||||
static inline void mkPrimOpApp(Value & v, Value & left, Value & right)
|
||||
{
|
||||
v.type = tPrimOpApp;
|
||||
v.app.left = &left;
|
||||
v.app.right = &right;
|
||||
}
|
||||
|
||||
|
||||
static inline void mkStringNoCopy(Value & v, const char * s)
|
||||
{
|
||||
v.type = tString;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue