diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2021-09-08 11:19:39 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-09-08 11:19:39 +0200 |
commit | 918023908127079c51dc4273ca0e79cc5bcf923d (patch) | |
tree | 316bdbc52066458087c70537c762b571bb792259 /src/libexpr | |
parent | 6678e98411cd3bfe8143a4ba1b35d1451babce32 (diff) | |
parent | b0d4190f191a0aaa6638c546af975576374e35b3 (diff) |
Merge pull request #5215 from ncfavier/patch-1
Fix use-registries logic in builtins.getFlake
Diffstat (limited to 'src/libexpr')
-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); |