aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/flake.cc
diff options
context:
space:
mode:
authorNaïm Favier <n@monade.li>2021-09-05 15:28:44 +0200
committerGitHub <noreply@github.com>2021-09-05 15:28:44 +0200
commitb0d4190f191a0aaa6638c546af975576374e35b3 (patch)
tree230d3719c5d5fac23d7aab07ea5080ba8d21e158 /src/libexpr/flake/flake.cc
parent90b2dd570cbd8313a8cf45b3cf66ddef2bb06e07 (diff)
Fix use-registries logic in builtins.getFlake
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r--src/libexpr/flake/flake.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc
index ee345bdbc..010d97285 100644
--- a/src/libexpr/flake/flake.cc
+++ b/src/libexpr/flake/flake.cc
@@ -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);