Don't fall back to single user installation on darwin

This commit is contained in:
Sandro 2021-08-25 19:15:46 +02:00 committed by GitHub
parent 2fc50b7dbd
commit 7dec9775e5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -26,8 +26,8 @@ installer_options=(
--nix-extra-conf-file /tmp/nix.conf --nix-extra-conf-file /tmp/nix.conf
) )
# only use the nix-daemon if systemd is supported # only use the nix-daemon settings if on darwin (which get ignored) or systemd is supported
if [[ -e /run/systemd/system ]]; then if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
installer_options+=( installer_options+=(
--daemon --daemon
--daemon-user-count 4 --daemon-user-count 4