Skip to content

top-level/splice.nix: remove special treatment for xorg - #481666

Merged
wolfgangwalther merged 2 commits into
NixOS:staging-nextfrom
jopejoe1:xorg-special-treatment
Jan 22, 2026
Merged

wolfgangwalther merged 2 commits into
NixOS:staging-nextfrom
jopejoe1:xorg-special-treatment

Conversation

@jopejoe1

@jopejoe1 jopejoe1 commented Jan 19, 2026 •

Copy link
Copy Markdown
Member

This removes the special treatment of Xorg in splice.nix by either inheriting the still-used aliases in all-packages.nix or adding the unused ones to aliases.nix.

Also these are currenlty shadowing top-level packages, when using callPackage

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.

@jopejoe1
jopejoe1 force-pushed the xorg-special-treatment branch from 66648b7 to 286347e Compare January 19, 2026 15:54
@jopejoe1
jopejoe1 changed the base branch from master to staging-next January 19, 2026 15:54
@nixpkgs-ci nixpkgs-ci Bot closed this Jan 19, 2026
@nixpkgs-ci nixpkgs-ci Bot reopened this Jan 19, 2026
@jopejoe1
jopejoe1 force-pushed the xorg-special-treatment branch from 286347e to 70a2d70 Compare January 19, 2026 16:02
@nixpkgs-ci
nixpkgs-ci Bot requested a review from Ericson2314 January 19, 2026 16:07
@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. labels Jan 19, 2026
@jopejoe1
jopejoe1 force-pushed the xorg-special-treatment branch from 70a2d70 to 544db35 Compare January 19, 2026 16:17
@wolfgangwalther

Copy link
Copy Markdown
Contributor

xsm is a rebuild, because it now uses the by-name/tw/twm package, which is not intended. It was using xorg.twm, which is the same as tab-window-manager, before.

So we should precede this with a commit to change xsm's twm -> tab-window-manager. Then this should become 0 rebuilds.

@jopejoe1
jopejoe1 force-pushed the xorg-special-treatment branch from 544db35 to 3431ef6 Compare January 21, 2026 21:59
This removes the special treatment of Xorg in `splice.nix` by either inheriting the still-used
aliases in `all-packages.nix` or adding the unused ones to `aliases.nix`.
@jopejoe1
jopejoe1 force-pushed the xorg-special-treatment branch from 3431ef6 to 91d2625 Compare January 21, 2026 22:04
@nixpkgs-ci nixpkgs-ci Bot added 10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. and removed 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. labels Jan 21, 2026
@jopejoe1

Copy link
Copy Markdown
Member Author

The CI had a hiccup, so I needed to manually restart it, but this should be good to go now.

@Ericson2314

Copy link
Copy Markdown
Member

Congrats! :)

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Jan 22, 2026
@wolfgangwalther
wolfgangwalther added this pull request to the merge queue Jan 22, 2026
Merged via the queue into NixOS:staging-next with commit 4c3d08a Jan 22, 2026
2 of 4 checks passed
@jopejoe1
jopejoe1 deleted the xorg-special-treatment branch January 22, 2026 11:23
@vcunat

vcunat commented Jan 22, 2026

Copy link
Copy Markdown
Member

I haven't looked into this PR, but maybe it's not ideal to have 3 copies of all xorg jobs? Example:
https://hydra.nixos.org/eval/1822211?filter=libXScrnSaver

@jopejoe1

Copy link
Copy Markdown
Member Author

I haven't looked into this PR, but maybe it's not ideal to have 3 copies of all xorg jobs? Example: https://hydra.nixos.org/eval/1822211?filter=libXScrnSaver

All the ones under xorg and the ones added here should really be dropped; this PR was just an intermediate PR to make the removal of those in the future easier.

My plan is to remove them step by step; the xorg package set could probably already be removed from the Hydra jobs as it doesn't have anything in it that's not already in the top-level.

@vcunat

vcunat commented Jan 22, 2026

Copy link
Copy Markdown
Member

Step by step sounds good to me 🙂

@quantenzitrone quantenzitrone mentioned this pull request Jan 22, 2026
2 of 5 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

10.rebuild-darwin: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 0 This PR does not cause any packages to rebuild on Linux. 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.

5 participants