mirror of
https://github.com/NixOS/nix
synced 2025-06-25 14:51:16 +02:00
Merge pull request #11621 from kevincox/patch-1
Improve documentation of `nix flake lock`
This commit is contained in:
commit
b7b9acd080
1 changed files with 3 additions and 3 deletions
|
@ -30,9 +30,9 @@ R""(
|
||||||
|
|
||||||
# Description
|
# Description
|
||||||
|
|
||||||
This command adds inputs to the lock file of a flake (`flake.lock`)
|
This command updates the lock file of a flake (`flake.lock`)
|
||||||
so that it contains a lock for every flake input specified in
|
so that it contains an up-to-date lock for every flake input specified in
|
||||||
`flake.nix`. Existing lock file entries are not updated.
|
`flake.nix`. Lock file entries are aready up-to-date are not modified.
|
||||||
|
|
||||||
If you want to update existing lock entries, use
|
If you want to update existing lock entries, use
|
||||||
[`nix flake update`](@docroot@/command-ref/new-cli/nix3-flake-update.md)
|
[`nix flake update`](@docroot@/command-ref/new-cli/nix3-flake-update.md)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue