Ignore local registries for lock file generation#12068
Merged
mergify[bot] merged 1 commit intoNixOS:masterfrom Dec 16, 2024
Merged
Ignore local registries for lock file generation#12068mergify[bot] merged 1 commit intoNixOS:masterfrom
mergify[bot] merged 1 commit intoNixOS:masterfrom
Conversation
When resolving indirect flake references like `nixpkgs` in `flake.nix` files, Nix will no longer use the system and user flake registries. It will only use the global flake registry and overrides given on the command line via `--override-flake`.
Member
Author
|
@mergify queue |
Contributor
✅ The pull request has been merged automaticallyDetailsThe pull request has been merged automatically at 2f32cf6 |
27 tasks
Member
|
Hm, what was the reason for squashing #12019? |
Member
Author
|
It felt like the documentation changes belong together with the lock file generation lookup changes and made it easier to understand. Also the commit message for the second one on it's own wasn't very descriptive. |
2 tasks
Mic92
added a commit
to nix-community/naersk
that referenced
this pull request
Apr 4, 2025
Those are deprecated in Nix: NixOS/nix#12068
nmattia
pushed a commit
to nix-community/naersk
that referenced
this pull request
Apr 4, 2025
Those are deprecated in Nix: NixOS/nix#12068
edolstra
added a commit
to DeterminateSystems/nix-src
that referenced
this pull request
Apr 9, 2025
Something went wrong in NixOS#12068 so this didn't work. Also added a test.
edolstra
added a commit
to DeterminateSystems/nix-src
that referenced
this pull request
Apr 9, 2025
Something went wrong in NixOS#12068 so this didn't work. Also added a test.
2 tasks
zedseven
added a commit
to zedseven/nixos-configuration
that referenced
this pull request
Sep 20, 2025
…it manually due to the changes from NixOS/nix#12068.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
When resolving indirect flake references like
nixpkgsinflake.nixfiles, Nix will no longer use the system and user flake registries. It will only use the global flake registry and overrides given on the command line via--override-flake.Motivation
Squashed version of #12019
Context
Add 👍 to pull requests you find important.
The Nix maintainer team uses a GitHub project board to schedule and track reviews.