diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2019-02-12 18:23:11 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2019-02-12 18:23:11 +0100 |
commit | 91a6a47b0e98f4114c263ef32895e749639c50ad (patch) | |
tree | 47b665ea501291b5c67949fc8418ce6f4d4243f2 /src/libexpr/primops/flake.hh | |
parent | 0cd7f2cd8d99071ebfb06a8f0d6a18efed6cd42e (diff) |
Improve flake references
Diffstat (limited to 'src/libexpr/primops/flake.hh')
-rw-r--r-- | src/libexpr/primops/flake.hh | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/src/libexpr/primops/flake.hh b/src/libexpr/primops/flake.hh new file mode 100644 index 000000000..6be6e99d2 --- /dev/null +++ b/src/libexpr/primops/flake.hh @@ -0,0 +1,17 @@ +#include "types.hh" +#include "flakeref.hh" + +#include <variant> + +namespace nix { + +struct FlakeRegistry +{ + struct Entry + { + FlakeRef ref; + }; + std::map<FlakeId, Entry> entries; +}; + +} |