From abd1c81eeabb22fc4f035f21389b708a4c3bf17b Mon Sep 17 00:00:00 2001 From: Gabriel Simmer Date: Wed, 16 Aug 2023 09:50:14 +0100 Subject: [PATCH] Manually create nixbld group --- .gitea/workflows/test-build.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.gitea/workflows/test-build.yml b/.gitea/workflows/test-build.yml index 86f96c3..dd0aea6 100644 --- a/.gitea/workflows/test-build.yml +++ b/.gitea/workflows/test-build.yml @@ -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