aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/primops/flake.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/primops/flake.hh')
-rw-r--r--src/libexpr/primops/flake.hh17
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;
+};
+
+}