Skip to content

nixos/nix-daemon: Fix unprivileged tmpfiles rules#493417

Merged
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:nix-daemon-unprivileged-fix
Feb 23, 2026
Merged

nixos/nix-daemon: Fix unprivileged tmpfiles rules#493417
Ericson2314 merged 1 commit intoNixOS:masterfrom
obsidiansystems:nix-daemon-unprivileged-fix

Conversation

@artemist
Copy link
Member

Things done

In #491809 I added support for running the nix daemon unprivileged, but did not include the correct path for the gc-roots-socket in tmpfiles and had a typo on another file. This was not caught in the tests.

I have tested this change with the nix functional tests, and plan to upstream that use in the future.

Fix those errors.

  • 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.

@Ericson2314 Ericson2314 added this pull request to the merge queue Feb 23, 2026
@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. 12.approvals: 1 This PR was reviewed and approved by one person. 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 Feb 23, 2026
Merged via the queue into NixOS:master with commit f372c0d Feb 23, 2026
31 checks passed
@Ericson2314 Ericson2314 deleted the nix-daemon-unprivileged-fix branch February 23, 2026 19:35
adamcstephens pushed a commit to adamcstephens/nixpkgs that referenced this pull request Feb 24, 2026
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: 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: 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