mirror of
https://github.com/NixOS/nix
synced 2025-07-04 11:21:47 +02:00
Merge remote-tracking branch 'tweag/flake-clone' into flakes
This commit is contained in:
commit
21d5abfc14
5 changed files with 77 additions and 6 deletions
|
@ -27,6 +27,8 @@ struct LockFile
|
|||
std::map<FlakeId, FlakeRef> nonFlakeEntries;
|
||||
};
|
||||
|
||||
typedef std::vector<std::shared_ptr<FlakeRegistry>> Registries;
|
||||
|
||||
Path getUserRegistryPath();
|
||||
|
||||
enum RegistryAccess { DisallowRegistry, AllowRegistry, AllowRegistryAtTop };
|
||||
|
@ -86,4 +88,5 @@ ResolvedFlake resolveFlake(EvalState &, const FlakeRef &, RegistryAccess registr
|
|||
|
||||
void updateLockFile(EvalState &, const Path & path);
|
||||
|
||||
void gitCloneFlake (std::string flakeUri, EvalState &, Registries, Path);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue