Skip to content

Commit

Permalink
Drop the need for python by using nproc
Browse files Browse the repository at this point in the history
  • Loading branch information
Kranzes committed Jul 22, 2023
1 parent 5cfd516 commit 6c404cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install-nix.sh
Expand Up @@ -50,7 +50,7 @@ installer_options=(
if [[ (! $INPUT_INSTALL_OPTIONS =~ "--no-daemon") && ($OSTYPE =~ darwin || -e /run/systemd/system) ]]; then
installer_options+=(
--daemon
--daemon-user-count "$(python3 -c 'import multiprocessing as mp; print(mp.cpu_count() * 2)')"
--daemon-user-count "$(nproc --all)"
)
else
# "fix" the following error when running nix*
Expand Down

0 comments on commit 6c404cd

Please sign in to comment.