Manually create nixbld group
This commit is contained in:
parent
3f7fe08103
commit
abd1c81eea
|
@ -12,6 +12,8 @@ jobs:
|
|||
run: |
|
||||
apt update && apt install -y sudo zstd
|
||||
echo "USER=$(whoami)" >> $GITHUB_ENV
|
||||
groupadd -r nixbld
|
||||
for n in $(seq 1 10); do useradd -c "Nix build user $n" -d /var/empty -g nixbld -G nixbld -M -N -r -s "$(command -v nologin)" "nixbld$n"; done
|
||||
|
||||
- name: Install Nix
|
||||
uses: https://github.com/nixbuild/nix-quick-install-action@v25
|
||||
|
|
Loading…
Reference in a new issue