diff options
author | Naïm Favier <n@monade.li> | 2021-09-05 15:28:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-05 15:28:44 +0200 |
commit | b0d4190f191a0aaa6638c546af975576374e35b3 (patch) | |
tree | 230d3719c5d5fac23d7aab07ea5080ba8d21e158 /src/libexpr/flake/flake.cc | |
parent | 90b2dd570cbd8313a8cf45b3cf66ddef2bb06e07 (diff) |
Fix use-registries logic in builtins.getFlake
Diffstat (limited to 'src/libexpr/flake/flake.cc')
-rw-r--r-- | src/libexpr/flake/flake.cc | 2 |
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); |