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

lockFlake(): When refetching a locked flake, use the locked ref #12458

Merged
merged 1 commit into from
Feb 12, 2025

Conversation

edolstra
Copy link
Member

Motivation

Otherwise we may accidentally update a lock when we shouldn't.

Fixes #12445. This was broken in b2be6fe.

Context


Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

Otherwise we may accidentally update a lock when we shouldn't.

Fixes NixOS#12445.
@edolstra edolstra added regression Something doesn't work anymore flakes backport 2.26-maintenance Automatically creates a PR against the branch labels Feb 12, 2025
@edolstra edolstra merged commit ed38c9d into NixOS:master Feb 12, 2025
12 checks passed
@edolstra edolstra deleted the refetch-locked branch February 12, 2025 15:45
mergify bot added a commit that referenced this pull request Feb 12, 2025
…2458

lockFlake(): When refetching a locked flake, use the locked ref (backport #12458)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport 2.26-maintenance Automatically creates a PR against the branch flakes regression Something doesn't work anymore
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

flake.lock resolution differs in some cases between 2.25 and 2.26
1 participant