nix: set nixbld as primary group for the build users.
This commit is contained in:
parent
e75ccb5f6f
commit
a507f46ebb
1 changed files with 4 additions and 3 deletions
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'nix'
|
||||
pkgname=nix
|
||||
version=1.10
|
||||
revision=3
|
||||
revision=4
|
||||
build_style=gnu-configure
|
||||
# Use /nix/var as suggested by the official Manual.
|
||||
configure_args="--localstatedir=/nix/var"
|
||||
|
@ -13,9 +13,10 @@ makedepends="bzip2-devel libressl-devel sqlite-devel gc-devel libcurl-devel"
|
|||
conf_files="/etc/nix/nix.conf"
|
||||
# Create required build users/groups.
|
||||
system_groups="nixbld"
|
||||
for f in $(seq 10); do
|
||||
system_accounts=
|
||||
for f in $(seq 1 9); do
|
||||
system_accounts+=" nixbld${f}"
|
||||
eval export nixbld\${f}_groups="nixbld"
|
||||
eval export nixbld\${f}_pgroup="nixbld"
|
||||
done
|
||||
# Create required run-time directories.
|
||||
make_dirs="
|
||||
|
|
Loading…
Reference in a new issue