We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 11f4ad1 + d0ac661 commit a590bb1Copy full SHA for a590bb1
install-nix.sh
@@ -37,7 +37,7 @@ installer_options=(
37
)
38
39
# only use the nix-daemon settings if on darwin (which get ignored) or systemd is supported
40
-if [[ $OSTYPE =~ darwin || -e /run/systemd/system ]]; then
+if [[ (! $INPUT_INSTALL_OPTIONS =~ "--no-daemon") && ($OSTYPE =~ darwin || -e /run/systemd/system) ]]; then
41
installer_options+=(
42
--daemon
43
--daemon-user-count "$(python3 -c 'import multiprocessing as mp; print(mp.cpu_count() * 2)')"
0 commit comments