Skip to content

Commit

Permalink
Merge pull request #11621 from kevincox/patch-1
Browse files Browse the repository at this point in the history
Improve documentation of `nix flake lock`
  • Loading branch information
fricklerhandwerk authored Oct 1, 2024
2 parents 14f029d + d2f627d commit b7b9acd
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/nix/flake-lock.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@ R""(
# Description

This command adds inputs to the lock file of a flake (`flake.lock`)
so that it contains a lock for every flake input specified in
`flake.nix`. Existing lock file entries are not updated.
This command updates the lock file of a flake (`flake.lock`)
so that it contains an up-to-date lock for every flake input specified in
`flake.nix`. Lock file entries are aready up-to-date are not modified.

If you want to update existing lock entries, use
[`nix flake update`](@docroot@/command-ref/new-cli/nix3-flake-update.md)
Expand Down

0 comments on commit b7b9acd

Please sign in to comment.