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

Allow fetching using NAR hash without --allow-dirty-locks #12376

Open
wants to merge 7 commits into
base: master
Choose a base branch
from

Conversation

edolstra
Copy link
Member

Motivation

This allows calling fetchGit with only a NAR hash in pure mode, and allows using a lock file that has entries that are unlocked but do have a NAR hash. In both cases, a warning is printed to let users know this is deprecated behavior.

Fixes #12027, #12364.

Depends on #12375.

Context


Add 👍 to pull requests you find important.

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

@github-actions github-actions bot added with-tests Issues related to testing. PRs with tests have some priority fetching Networking with the outside (non-Nix) world, input locking labels Jan 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
fetching Networking with the outside (non-Nix) world, input locking with-tests Issues related to testing. PRs with tests have some priority
Projects
Status: To triage
Development

Successfully merging this pull request may close these issues.

fetchGit input with ref and narHash specified, is now considered unlocked.
1 participant