aboutsummaryrefslogtreecommitdiff
path: root/src/libexpr/flake/flake.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/libexpr/flake/flake.hh')
-rw-r--r--src/libexpr/flake/flake.hh3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/libexpr/flake/flake.hh b/src/libexpr/flake/flake.hh
index 4eb36236c..7c71f3383 100644
--- a/src/libexpr/flake/flake.hh
+++ b/src/libexpr/flake/flake.hh
@@ -78,6 +78,9 @@ struct LockFlags
allowed. */
bool allowMutable = true;
+ /* Whether to commit changes to flake.lock. */
+ bool commitLockFile = false;
+
/* Flake inputs to be overriden. */
std::map<InputPath, FlakeRef> inputOverrides;