Merge pull request #2746 from bjornfor/install-multi-user-defaults

install-multi-user: reduce max-jobs from 32 to 1
This commit is contained in:
Eelco Dolstra 2019-06-17 10:17:40 +02:00 committed by GitHub
commit 38a4d38bc3
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -749,9 +749,6 @@ setup_default_profile() {
place_nix_configuration() { place_nix_configuration() {
cat <<EOF > "$SCRATCH/nix.conf" cat <<EOF > "$SCRATCH/nix.conf"
build-users-group = $NIX_BUILD_GROUP_NAME build-users-group = $NIX_BUILD_GROUP_NAME
max-jobs = $NIX_USER_COUNT
cores = 1
EOF EOF
_sudo "to place the default nix daemon configuration (part 2)" \ _sudo "to place the default nix daemon configuration (part 2)" \
install -m 0664 "$SCRATCH/nix.conf" /etc/nix/nix.conf install -m 0664 "$SCRATCH/nix.conf" /etc/nix/nix.conf