Merge pull request #6544 from ncfavier/getFlake-no-write-lock-file

Do not attempt to write a lock file in builtins.getFlake
This commit is contained in:
Théophane Hufschmitt
2022-05-18 16:41:13 +02:00
committed by GitHub
2 changed files with 2 additions and 0 deletions
+1
View File
@@ -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,
}),