diff options
author | Théophane Hufschmitt <7226587+thufschmitt@users.noreply.github.com> | 2022-05-18 16:41:13 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-05-18 16:41:13 +0200 |
commit | 78dc64ec1e34236d90c8869feebe30f596205cb2 (patch) | |
tree | 528af8b0b90914356b9fd0a13e52c9fd392872e7 /src/libexpr | |
parent | 51d13c43c135bd337153eb19293458fd5441eb06 (diff) | |
parent | 169384abb2bcfb687c8ad5959896738a76f3452e (diff) |
Merge pull request #6544 from ncfavier/getFlake-no-write-lock-file
Do not attempt to write a lock file in builtins.getFlake
Diffstat (limited to 'src/libexpr')
-rw-r--r-- | src/libexpr/flake/flake.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/libexpr/flake/flake.cc b/src/libexpr/flake/flake.cc index cbf4f0a6f..35c841897 100644 --- a/src/libexpr/flake/flake.cc +++ b/src/libexpr/flake/flake.cc @@ -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, }), |