Skip to content

nixos/gnome-initial-setup: Fix dependency ordering - #459443

Merged
fabianhjr merged 1 commit into
NixOS:staging-nextfrom
ElvishJerricco:push-qlwvxoktslqn
Nov 7, 2025
Merged

fabianhjr merged 1 commit into
NixOS:staging-nextfrom
ElvishJerricco:push-qlwvxoktslqn

Conversation

@ElvishJerricco

@ElvishJerricco ElvishJerricco commented Nov 7, 2025 •

Copy link
Copy Markdown
Contributor

The upstream unit dependencies in ${gnome-initial-setup}/share/systemd/user/gnome-session.target.wants and ${gnome-initial-setup}/share/systemd/user/graphical-session-pre.target.wants were the other way around. The way we had it caused a systemd unit cycle.

TODO: Build a way to use the upstream .wants dirs.

Fixes #459304

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.

The upstream unit dependencies in
`${gnome-initial-setup}/share/systemd/user/gnome-session.target.wants`
and
`${gnome-initial-setup}/share/systemd/user/graphical-session-pre.target.wants`
were the other way around. The way we had it caused a systemd unit cycle.

TODO: Build a way to use the upstream `.wants` dirs.
@ElvishJerricco ElvishJerricco mentioned this pull request Nov 7, 2025
3 tasks done
@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: 0 This PR does not cause any packages to rebuild on Darwin. 6.topic: nixos Issues or PRs affecting NixOS modules, or package usability issues specific to NixOS 6.topic: GNOME GNOME desktop environment and its underlying platform 8.has: module (update) This PR changes an existing module in `nixos/` labels Nov 7, 2025

@jtojnar jtojnar left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks.

Looks like I even mentioned the correct service in the commit message but then implemented it wrong: cf7ed31

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Nov 7, 2025

@fabianhjr fabianhjr left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

Thanks for fixing the ordering/wants of the systemd units <3

@nixpkgs-ci nixpkgs-ci Bot added 12.approvals: 2 This PR was reviewed and approved by two persons. and removed 12.approvals: 1 This PR was reviewed and approved by one person. labels Nov 7, 2025
@fabianhjr
fabianhjr added this pull request to the merge queue Nov 7, 2025
Merged via the queue into NixOS:staging-next with commit 0a21aa1 Nov 7, 2025
@ElvishJerricco
ElvishJerricco deleted the push-qlwvxoktslqn branch May 26, 2026 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

6.topic: GNOME GNOME desktop environment and its underlying platform 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: 0 This PR does not cause any packages to rebuild on Darwin. 10.rebuild-linux: 1-10 This PR causes between 1 and 10 packages to rebuild on Linux. 12.approvals: 2 This PR was reviewed and approved by two persons.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants