Manually create nixbld group
Some checks failed
Build Docker Image / nix-flake-check (push) Failing after 9s
Build Docker Image / docker-build (push) Has been skipped
Build Docker Image / arm-docker-build (push) Has been skipped

This commit is contained in:
Gabriel Simmer 2023-08-16 09:50:14 +01:00
parent 3f7fe08103
commit abd1c81eea
Signed by: arch
SSH key fingerprint: SHA256:mXaHIY3tLtudNyb+i3qRd0DeXvpqbst04OgVKVCp2R4

View file

@ -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