File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ if [[ -n "${INPUT_EXTRA_NIX_CONFIG:-}" ]]; then
32
32
add_config " $INPUT_EXTRA_NIX_CONFIG "
33
33
fi
34
34
if [[ ! $INPUT_EXTRA_NIX_CONFIG =~ " experimental-features" ]]; then
35
- add_config " experimental-features = nix-command flakes"
35
+ add_config " experimental-features = nix-command flakes auto-allocate-uids "
36
36
fi
37
37
38
38
# Nix installer flags
@@ -46,8 +46,9 @@ installer_options=(
46
46
if [[ (! $INPUT_INSTALL_OPTIONS =~ " --no-daemon" ) && ($OSTYPE =~ darwin || -e /run/systemd/system) ]]; then
47
47
installer_options+=(
48
48
--daemon
49
- --daemon-user-count " $( python3 -c ' import multiprocessing as mp; print(mp.cpu_count() * 2) ' ) "
49
+ --daemon-user-count 1
50
50
)
51
+ add_config " auto-allocate-uids = true"
51
52
else
52
53
# "fix" the following error when running nix*
53
54
# error: the group 'nixbld' specified in 'build-users-group' does not exist
You can’t perform that action at this time.
0 commit comments