mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
Improve flake references
This commit is contained in:
parent
0cd7f2cd8d
commit
91a6a47b0e
9 changed files with 380 additions and 59 deletions
17
src/libexpr/primops/flake.hh
Normal file
17
src/libexpr/primops/flake.hh
Normal file
|
@ -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;
|
||||
};
|
||||
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue