Skip to content

Comments

Ignore local registries for lock file generation#12068

Merged
mergify[bot] merged 1 commit intoNixOS:masterfrom
Mic92:ignore-local-registries
Dec 16, 2024
Merged

Ignore local registries for lock file generation#12068
mergify[bot] merged 1 commit intoNixOS:masterfrom
Mic92:ignore-local-registries

Conversation

@Mic92
Copy link
Member

@Mic92 Mic92 commented Dec 16, 2024

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.

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.

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`.
@github-actions github-actions bot added documentation new-cli Relating to the "nix" command fetching Networking with the outside (non-Nix) world, input locking labels Dec 16, 2024
@Mic92
Copy link
Member Author

Mic92 commented Dec 16, 2024

@mergify queue

@mergify
Copy link
Contributor

mergify bot commented Dec 16, 2024

queue

✅ The pull request has been merged automatically

Details

The pull request has been merged automatically at 2f32cf6

mergify bot added a commit that referenced this pull request Dec 16, 2024
@mergify mergify bot merged commit 2f32cf6 into NixOS:master Dec 16, 2024
@edolstra
Copy link
Member

Hm, what was the reason for squashing #12019?

@Mic92 Mic92 deleted the ignore-local-registries branch December 17, 2024 21:08
@Mic92
Copy link
Member Author

Mic92 commented Dec 17, 2024

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.

Mic92 added a commit to nix-community/naersk that referenced this pull request Apr 4, 2025
nmattia pushed a commit to nix-community/naersk that referenced this pull request Apr 4, 2025
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.
mergify bot pushed a commit that referenced this pull request Apr 9, 2025
Something went wrong in #12068 so this didn't work. Also added a test.

(cherry picked from commit 77d4316)
mergify bot pushed a commit that referenced this pull request Apr 9, 2025
Something went wrong in #12068 so this didn't work. Also added a test.

(cherry picked from commit 77d4316)
mergify bot pushed a commit that referenced this pull request Apr 9, 2025
Something went wrong in #12068 so this didn't work. Also added a test.

(cherry picked from commit 77d4316)
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.
zedseven added a commit to zedseven/nixos-configuration that referenced this pull request Sep 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation fetching Networking with the outside (non-Nix) world, input locking new-cli Relating to the "nix" command

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants