-
-
Notifications
You must be signed in to change notification settings - Fork 457
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
nix-daemon: enable by default #1164
Conversation
812b7f2
to
29f6a5f
Compare
0bcd2c4
to
8bbd8cd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Single user installs have been unsupported by the official Nix installer since 2.4.
I don’t think that’s true, is it? I did a new single‐user installation of 2.24 in a VM recently. Rather it’s that they don’t work (at least, with SIP enabled) on Catalina or newer. I think it’s okay to drop support for older macOS versions but we should add a sw_vers
check if so; it’s not really about the Nix version.
That said, this just changes defaults without actually dropping support for anything so I think it’s probably fine.
fce3dd6
to
d00737c
Compare
I believe they were disabled in NixOS/nix#4289
I assume a dedicated enough user could do a single-user install on macOS (probably do a multi-user install, delete the users and group and |
Single user installs have been unsupported by the official Nix installer since 2.4.
Remove suggestion to set `nix.useDaemon` as it came without an explanation of how the `nix-daemon` would be unmanaged and would most likely lead to most users running an old version of Nix as the daemon.
d00737c
to
886c2dc
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
FWIW I used the official installer and I think I only had to pass --no-daemon
. LGTM other than nit.
For Nix 1, some environment variables were set when using distributed builds requiring the Nix daemon to be managed by nix-darwin. However, support for Nix 1 has been removed and no other environment variables for Nix are set by default.
886c2dc
to
ec5fce6
Compare
The PR above added these lines https://github.com/NixOS/nix/blob/master/scripts/install-nix-from-closure.sh#L61-L65 which disabled the |
Oh, hmm. I guess I did a daemon install but without a separate volume, then. |
Single user installs have been unsupported by the official Nix installer since 2.4.