Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installer: allow opting in / out to the daemon installer #2092

Merged
merged 2 commits into from Apr 19, 2018

Conversation

grahamc
Copy link
Member

@grahamc grahamc commented Apr 19, 2018

By passing --daemon or --no-daemon, the installer can be forced to
select one or the other installation options, despite what the
automatic detection can provide.

I'm hoping that by merging this PR and this PR to the homepage we can bring back the multi-user installer for nix 2.0: NixOS/nixos-homepage#212

The first commit can be backported to 2.0-maintenance because it explicitly
turns off the daemon installation for Linux under systemd. The second commit turns the daemon on by default, and should not be backported.

Under my hope that this is okay, I've prepared a backport branch which includes a revert-of-the-revert, plus the first commit: https://github.com/NixOS/nix/compare/2.0-maintenance...grahamc:re-backport-multi-user-linux?expand=1

By passing --daemon or --no-daemon, the installer can be forced to
select one or the other installation options, despite what the
automatic detection can provide.

This commit can be backported to 2.0-maintenance because it explicitly
turns off the daemon installation for Linux under systemd.
@edolstra edolstra merged commit a8c61ce into NixOS:master Apr 19, 2018
@grahamc grahamc deleted the opt-in-or-out-daemon branch April 19, 2018 22:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants