mirror of
https://github.com/NixOS/nix
synced 2025-06-25 06:31:14 +02:00
Do not attempt to write a lock file in builtins.getFlake
Fixes https://github.com/NixOS/nix/issues/6541
This commit is contained in:
parent
7062ebf5be
commit
169384abb2
2 changed files with 2 additions and 0 deletions
|
@ -723,6 +723,7 @@ static void prim_getFlake(EvalState & state, const PosIdx pos, Value * * args, V
|
|||
lockFlake(state, flakeRef,
|
||||
LockFlags {
|
||||
.updateLockFile = false,
|
||||
.writeLockFile = false,
|
||||
.useRegistries = !evalSettings.pureEval && fetchSettings.useRegistries,
|
||||
.allowMutable = !evalSettings.pureEval,
|
||||
}),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue