mirror of
https://github.com/NixOS/nix
synced 2025-06-26 20:01: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,6 +17,7 @@ namespace nix {
|
|||
class Store;
|
||||
class EvalState;
|
||||
enum RepairFlag : bool;
|
||||
struct FlakeRegistry;
|
||||
|
||||
|
||||
typedef void (* PrimOpFun) (EvalState & state, const Pos & pos, Value * * args, Value & v);
|
||||
|
@ -315,15 +316,6 @@ private:
|
|||
|
||||
public:
|
||||
|
||||
struct FlakeRegistry
|
||||
{
|
||||
struct Entry
|
||||
{
|
||||
std::string uri;
|
||||
};
|
||||
std::map<std::string, Entry> entries;
|
||||
};
|
||||
|
||||
const FlakeRegistry & getFlakeRegistry();
|
||||
|
||||
private:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue