[Backport release-25.11] nixos/nix-daemon: Support running as non-root user#493419
Conversation
There was a problem hiding this comment.
This report is automatically generated by the PR / Check / cherry-pick CI workflow.
Some of the commits in this PR require the author's and reviewer's attention.
Please follow the backporting guidelines and cherry-pick with the -x flag.
This requires changes to the unstable master and staging branches first, before backporting them.
Occasionally, commits are not cherry-picked at all, for example when updating minor versions of packages which have already advanced to the next major on unstable.
These commits can optionally be marked with a Not-cherry-picked-because: <reason> footer.
If you need to merge this PR despite the warnings, please dismiss this review shortly before merging.
Warning
Couldn't locate the cherry-picked commit's hash in the commit message of 173eacf.
Hint: The full diffs are also available in the runner logs with slightly better highlighting.
Intentionally different, since fixes are squashed in . Everything is properly referenced in the commit message.
Cherry-pick of bd49e43 from #491809 with fixes from 3e7afcb from #493417
This is being backported to allow using it in the upstream Nix tests.
Things done
passthru.tests.nixpkgs-reviewon this PR. See nixpkgs-review usage../result/bin/.