mirror of
https://github.com/privatevoid-net/nix-super.git
synced 2025-01-19 09:36:47 +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
|
const char * * context; // must be in sorted order
|
||||||
};
|
};
|
||||||
|
|
||||||
|
struct Path {
|
||||||
|
InputAccessor * accessor;
|
||||||
|
const char * path;
|
||||||
|
};
|
||||||
|
|
||||||
union
|
union
|
||||||
{
|
{
|
||||||
NixInt integer;
|
NixInt integer;
|
||||||
|
@ -192,10 +197,7 @@ public:
|
||||||
|
|
||||||
StringWithContext string;
|
StringWithContext string;
|
||||||
|
|
||||||
struct {
|
Path _path;
|
||||||
InputAccessor * accessor;
|
|
||||||
const char * path;
|
|
||||||
} _path;
|
|
||||||
|
|
||||||
Bindings * attrs;
|
Bindings * attrs;
|
||||||
struct {
|
struct {
|
||||||
|
|
Loading…
Reference in a new issue