diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2020-02-05 14:48:49 +0100 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2020-02-05 14:48:49 +0100 |
commit | 9d7fb62db6e8ee6da7f8dbc5f5509271dc12f2ba (patch) | |
tree | 300a38d1bb67fb80b297b3d05e8e1425547fd2f8 /src/nix | |
parent | e2213d77a22a1d3d5d17167eb2760352760405e8 (diff) |
Add option --commit-lock-file
Diffstat (limited to 'src/nix')
-rw-r--r-- | src/nix/installables.cc | 5 |
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") |