Skip to content

feat: align Nix path and flake registry with NixOS - #547

Open
XYenon wants to merge 1 commit into
numtide:mainfrom
XYenon:xyenon/546
Open

XYenon wants to merge 1 commit into
numtide:mainfrom
XYenon:xyenon/546

Conversation

@XYenon

@XYenon XYenon commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Closes #546.

Reuse the upstream NixOS flake registry modules and inject the nixpkgs flake source in makeSystemConfig. This pins the system-wide nixpkgs registry entry and exports nixpkgs=flake:nixpkgs through NIX_PATH while preserving an existing registry across activation and deactivation.

Tests

  • nix flake check --no-build
  • nix build ./testFlake#checks.x86_64-linux.container-ubuntu-22_04-nix-enabled ./testFlake#checks.x86_64-linux.container-ubuntu-24_04-nix-enabled ./testFlake#checks.x86_64-linux.container-debian-13-nix-enabled -L

@mergify

mergify Bot commented Sep 12, 2026

Copy link
Copy Markdown
Contributor

Tick the box to add this pull request to the merge queue (same as @mergifyio queue).

  • Queue this pull request

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Align NIX_PATH and flake registry with NixOS

2 participants