1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-04 11:21:47 +02:00

Improve FlakeCommand

It now handles commonality like calling getFlake() and resolving
relative local flake refs.

Fixes #2822.
This commit is contained in:
Eelco Dolstra 2019-05-16 22:48:16 +02:00
parent 8e5c86befc
commit 2468672e30
5 changed files with 65 additions and 59 deletions

View file

@ -133,7 +133,8 @@ struct ResolvedFlake
ResolvedFlake resolveFlake(EvalState &, const FlakeRef &, HandleLockFile);
void updateLockFile(EvalState &, const FlakeUri &, bool recreateLockFile);
void updateLockFile(EvalState &, const FlakeRef & flakeRef, bool recreateLockFile);
void gitCloneFlake(FlakeRef flakeRef, EvalState &, Registries, const Path & destDir);
void gitCloneFlake (std::string flakeUri, EvalState &, Registries, Path);
}