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

Pass stuff by reference

This commit is contained in:
Eelco Dolstra 2019-04-16 14:27:54 +02:00
parent e1d73edb10
commit 7b312a8762
2 changed files with 13 additions and 11 deletions

View file

@ -33,7 +33,7 @@ void makeFlakeValue(EvalState & state, const FlakeRef & flakeRef, bool impureTop
std::shared_ptr<FlakeRegistry> readRegistry(const Path &);
void writeRegistry(const FlakeRegistry &, Path);
void writeRegistry(const FlakeRegistry &, const Path &);
struct Flake
{
@ -75,7 +75,8 @@ struct Dependencies
Dependencies resolveFlake(EvalState &, const FlakeRef &, bool impureTopRef, bool isTopFlake = true);
FlakeRegistry updateLockFile(EvalState &, Flake &);
FlakeRegistry updateLockFile(EvalState &, const Flake &);
void updateLockFile(EvalState &, const Path & path);
void updateLockFile(EvalState &, Path path);
}