mirror of
https://github.com/NixOS/nix
synced 2025-06-28 01:11:15 +02:00
Combining registries properly
This commit is contained in:
parent
5e4d92d267
commit
a554f523db
4 changed files with 73 additions and 47 deletions
|
@ -25,7 +25,7 @@ Value * makeFlakeRegistryValue(EvalState & state);
|
|||
|
||||
Value * makeFlakeValue(EvalState & state, std::string flakeUri, Value & v);
|
||||
|
||||
std::unique_ptr<FlakeRegistry> readRegistry(const Path &);
|
||||
std::shared_ptr<FlakeRegistry> readRegistry(const Path &);
|
||||
|
||||
void writeRegistry(FlakeRegistry, Path);
|
||||
|
||||
|
@ -36,7 +36,7 @@ struct Flake
|
|||
std::string description;
|
||||
Path path;
|
||||
std::vector<FlakeRef> requires;
|
||||
std::unique_ptr<FlakeRegistry> lockFile;
|
||||
std::shared_ptr<FlakeRegistry> lockFile;
|
||||
Value * vProvides; // FIXME: gc
|
||||
// commit hash
|
||||
// date
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue