Skip to content

nixos/udev: include all rules from systemd in /etc - #559314

Merged
nikstur merged 1 commit into
NixOS:staging-nixosfrom
nikstur:all-udev-rules
Sep 8, 2026
Merged

nikstur merged 1 commit into
NixOS:staging-nixosfrom
nikstur:all-udev-rules

Conversation

@nikstur

@nikstur nikstur commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

This is primarily done in preparation to remove 0003-add-rootprefix-to-lookup-dir-paths.patch from systemd. It will become unnecessary with this change.

Successfuly ran all systemd tests from our systemd update procedure.

Things done

@nikstur
nikstur requested a review from a team September 2, 2026 22:55
@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. 10.rebuild-nixos-tests This PR causes rebuilds for all NixOS tests and should normally target the staging branches. 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/` labels Sep 2, 2026

@GrimmTheShrimp GrimmTheShrimp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

As it stands this'll explode hard on cross.

@GrimmTheShrimp GrimmTheShrimp left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

The diff makes sense to me now, though i didn't run any tests on this revised version. Ty for fixing the cross stuff though.

@nixpkgs-ci nixpkgs-ci Bot added the 12.approvals: 1 This PR was reviewed and approved by one person. label Sep 4, 2026
This is done in preparation for removing
0003-add-rootprefix-to-lookup-dir-paths.patch which included the path to
the systemd derivation as a lookup path for udev.

Now, all rules from systemd are added to /etc both in stage 1 and stage
2. Thus, the patch is unneded now.
@nikstur

nikstur commented Sep 5, 2026

Copy link
Copy Markdown
Contributor Author

I had to change systemdMinimal for systemd because it doesn't contain the uaccess builtin. Now all systemd tests pass both on the staging-nixos branch as well as with 0003-add-rootprefix-to-lookup-dir-paths.patch removed from systemd.

@nikstur
nikstur added this pull request to the merge queue Sep 8, 2026
Merged via the queue into NixOS:staging-nixos with commit b1332f4 Sep 8, 2026
26 checks passed
@nikstur
nikstur deleted the all-udev-rules branch September 8, 2026 23:57
@GrimmTheShrimp GrimmTheShrimp mentioned this pull request Sep 13, 2026
4 of 13 tasks
nikstur added a commit to nikstur/nixpkgs that referenced this pull request Sep 15, 2026
- Removed 0001-Don-t-try-to-unmount-nix-or-nix-store.patch because we
  fixed it in NixOS with NixOS#560805
- Removed 0003-add-rootprefix-to-lookup-dir-paths.patch because we fixed
  it in NixOS with NixOS#559314
- Removed 0006-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch
  because it was fixed upstream by
  systemd/systemd#43380
nikstur added a commit to nikstur/nixpkgs that referenced this pull request Sep 17, 2026
- Removed 0001-Don-t-try-to-unmount-nix-or-nix-store.patch because we
  fixed it in NixOS with NixOS#560805
- Removed 0003-add-rootprefix-to-lookup-dir-paths.patch because we fixed
  it in NixOS with NixOS#559314
- Removed 0006-timesyncd-disable-NSCD-when-DNSSEC-validation-is-dis.patch
  because it was fixed upstream by
  systemd/systemd#43380
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

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