forked from lix-project/lix
Merge pull request #5215 from ncfavier/patch-1
Fix use-registries logic in builtins.getFlake
This commit is contained in:
commit
9180239081
|
@ -686,7 +686,7 @@ static void prim_getFlake(EvalState & state, const Pos & pos, Value * * args, Va
|
|||
lockFlake(state, flakeRef,
|
||||
LockFlags {
|
||||
.updateLockFile = false,
|
||||
.useRegistries = !evalSettings.pureEval && !settings.useRegistries,
|
||||
.useRegistries = !evalSettings.pureEval && settings.useRegistries,
|
||||
.allowMutable = !evalSettings.pureEval,
|
||||
}),
|
||||
v);
|
||||
|
|
Loading…
Reference in a new issue