-
-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Commit
- Loading branch information
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,10 +23,10 @@ readonly RED='\033[31m' | |
# installer allows overriding build user count to speed up installation | ||
# as creating each user takes non-trivial amount of time on macos | ||
readonly NIX_USER_COUNT=${NIX_USER_COUNT:-32} | ||
readonly NIX_BUILD_GROUP_ID="${NIX_BUILD_GROUP_ID:-30000}" | ||
readonly NIX_BUILD_GROUP_NAME="nixbld" | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
abathur
Author
Member
|
||
# each system specific installer must set these: | ||
# NIX_FIRST_BUILD_UID | ||
# NIX_BUILD_GROUP_ID | ||
# NIX_BUILD_USER_NAME_TEMPLATE | ||
# Please don't change this. We don't support it, because the | ||
# default shell profile that comes with Nix doesn't support it. | ||
|
@@ -530,9 +530,7 @@ It seems the build group $NIX_BUILD_GROUP_NAME already exists, but | |
with the UID $primary_group_id. This script can't really handle | ||
that right now, so I'm going to give up. | ||
You can fix this by editing this script and changing the | ||
NIX_BUILD_GROUP_ID variable near the top to from $NIX_BUILD_GROUP_ID | ||
to $primary_group_id and re-run. | ||
You can export NIX_BUILD_GROUP_ID=$primary_group_id and re-run. | ||
EOF | ||
else | ||
row " Exists" "Yes" | ||
|
Maybe we should make this
_nixbld
to for consistency with the users and the other system groups in the range while we’re at it? Probably doesn’t matter that much, but I seem to recall we renamed the users to get them hidden in some way so it might not hurt to follow suit with the group.