mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2024-11-10 08:16:15 +02:00
Value: extract Value::Path
This commit is contained in:
parent
2eb59c34b5
commit
d8ff5cfe8e
1 changed files with 6 additions and 4 deletions
|
@ -185,6 +185,11 @@ public:
|
|||
const char * * context; // must be in sorted order
|
||||
};
|
||||
|
||||
struct Path {
|
||||
InputAccessor * accessor;
|
||||
const char * path;
|
||||
};
|
||||
|
||||
union
|
||||
{
|
||||
NixInt integer;
|
||||
|
@ -192,10 +197,7 @@ public:
|
|||
|
||||
StringWithContext string;
|
||||
|
||||
struct {
|
||||
InputAccessor * accessor;
|
||||
const char * path;
|
||||
} _path;
|
||||
Path _path;
|
||||
|
||||
Bindings * attrs;
|
||||
struct {
|
||||
|
|
Loading…
Reference in a new issue