Skip to content

nixos: Shuffle definitions and deprecate system.extraSystemBuilderCmds#460976

Merged
roberth merged 1 commit intoNixOS:staging-nixosfrom
roberth:deprecate-extraSystemBuilderCmds
Nov 12, 2025
Merged

nixos: Shuffle definitions and deprecate system.extraSystemBuilderCmds#460976
roberth merged 1 commit intoNixOS:staging-nixosfrom
roberth:deprecate-extraSystemBuilderCmds

Conversation

@roberth
Copy link
Member

@roberth roberth commented Nov 12, 2025

Shuffle:
The definitions are now combined into a single option. Since they have no interdependencies, that's ok, but you may notice this trivial change by a changed hash, and analyzing with nix-diff.

Deprecation:
Use the option system.systemBuilderCommands instead.

Context:

Things done

  • Built on platform:
    • x86_64-linux
    • aarch64-linux
    • x86_64-darwin
    • aarch64-darwin
  • Tested, as applicable:
  • Ran nixpkgs-review on this PR. See nixpkgs-review usage.
  • Tested basic functionality of all binary files, usually in ./result/bin/.
  • Nixpkgs Release Notes
    • Package update: when the change is major or breaking.
  • NixOS Release Notes
    • Module addition: when adding a new NixOS module.
    • Module update: when the change is significant.
  • Fits CONTRIBUTING.md, pkgs/README.md, maintainers/README.md and other READMEs.

Add a 👍 reaction to pull requests you find important.

@roberth roberth added 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: hygiene Cleaning up and removing cruft labels Nov 12, 2025
@roberth roberth mentioned this pull request Nov 12, 2025
13 tasks
@nixpkgs-ci nixpkgs-ci bot added 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 9.needs: reviewer This PR currently has no reviewers requested and needs attention. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 8.has: module (update) This PR changes an existing module in `nixos/` labels Nov 12, 2025
@roberth roberth force-pushed the deprecate-extraSystemBuilderCmds branch from 71adcb1 to 7bb03c1 Compare November 12, 2025 16:23
Copy link
Member

@arianvp arianvp left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oh wait we need to retarget this to staging-nixos I think. As it causes rebuild of all tests

@roberth
Copy link
Member Author

roberth commented Nov 12, 2025

Yeah, I thought that was automatic, but only for staging, I guess?

Shuffle:
The definitions are now combined into a single option. Since they have
no interdependencies, that's ok, but you may notice this trivial change
by a changed hash, and analyzing with nix-diff.

Deprecation:
Use the option `system.systemBuilderCommands` instead.
@nixpkgs-ci nixpkgs-ci bot added 12.approvals: 1 This PR was reviewed and approved by one person. and removed 9.needs: reviewer This PR currently has no reviewers requested and needs attention. labels Nov 12, 2025
@roberth roberth force-pushed the deprecate-extraSystemBuilderCmds branch from 7bb03c1 to 41b98b4 Compare November 12, 2025 20:01
@roberth roberth changed the base branch from master to staging-nixos November 12, 2025 20:01
@nixpkgs-ci nixpkgs-ci bot closed this Nov 12, 2025
@nixpkgs-ci nixpkgs-ci bot reopened this Nov 12, 2025
@roberth roberth enabled auto-merge November 12, 2025 20:02
@roberth roberth added this pull request to the merge queue Nov 12, 2025
Merged via the queue into NixOS:staging-nixos with commit a5b6d17 Nov 12, 2025
35 of 37 checks passed
@roberth roberth deleted the deprecate-extraSystemBuilderCmds branch November 12, 2025 20:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: hygiene Cleaning up and removing cruft 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 8.has: module (update) This PR changes an existing module in `nixos/` 10.rebuild-darwin: 1-10 This PR causes between 1 and 10 packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 12.approvals: 1 This PR was reviewed and approved by one person.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants