aboutsummaryrefslogtreecommitdiff
path: root/src/nix
diff options
context:
space:
mode:
Diffstat (limited to 'src/nix')
-rw-r--r--src/nix/installables.cc5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nix/installables.cc b/src/nix/installables.cc
index 545b5e839..752a1466f 100644
--- a/src/nix/installables.cc
+++ b/src/nix/installables.cc
@@ -40,6 +40,11 @@ MixFlakeOptions::MixFlakeOptions()
.set(&lockFlags.useRegistries, false);
mkFlag()
+ .longName("commit-lock-file")
+ .description("commit changes to the lock file")
+ .set(&lockFlags.commitLockFile, true);
+
+ mkFlag()
.longName("update-input")
.description("update a specific flake input")
.label("input-path")