-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Improve documentation of nix flake lock
#11621
Conversation
The previous documentation was inaccurate, stating that it would not update existing inputs. However these inputs will be updated if they are outdated (for example the version of an existing input has been changed). The new text properly reflects this behaviour.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks!
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
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. | |
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. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ah I can't commit to your branch. Well one-line-per-sentence next time then please.
…1621 Improve documentation of `nix flake lock` (backport #11621)
The previous documentation was inaccurate, stating that it would not update existing inputs. However these inputs will be updated if they are outdated (for example the version of an existing input has been changed). The new text properly reflects this behaviour.