mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-27 19:03:57 +00:00
Don't fall back to single user installation on darwin
This commit is contained in:
parent
2fc50b7dbd
commit
7dec9775e5
1 changed files with 2 additions and 2 deletions
|
@ -26,8 +26,8 @@ installer_options=(
|
|||
--nix-extra-conf-file /tmp/nix.conf
|
||||
)
|
||||
|
||||
# only use the nix-daemon if systemd is supported
|
||||
if [[ -e /run/systemd/system ]]; then
|
||||
# only use the nix-daemon settings if on darwin (which get ignored) or systemd is supported
|
||||
if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
|
||||
installer_options+=(
|
||||
--daemon
|
||||
--daemon-user-count 4
|
||||
|
|
Loading…
Reference in a new issue