mirror of
https://github.com/cachix/install-nix-action.git
synced 2024-11-24 01:18:05 +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
|
--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
|
||||||
|
|
Loading…
Reference in a new issue