Skip to content
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

Merged
merged 1 commit into from
Oct 1, 2024

Conversation

kevincox
Copy link
Contributor

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.

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.
@github-actions github-actions bot added documentation new-cli Relating to the "nix" command labels Sep 30, 2024
Copy link
Contributor

@fricklerhandwerk fricklerhandwerk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks!

Comment on lines +33 to +35
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.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
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.

Copy link
Contributor

@fricklerhandwerk fricklerhandwerk Oct 1, 2024

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.

@fricklerhandwerk fricklerhandwerk merged commit b7b9acd into NixOS:master Oct 1, 2024
11 checks passed
@kevincox kevincox deleted the patch-1 branch October 1, 2024 10:14
@roberth roberth added the backport 2.24-maintenance Automatically creates a PR against the branch label Jan 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.24-maintenance Automatically creates a PR against the branch documentation new-cli Relating to the "nix" command
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants