From 346b693bc742bb6292d355b1fe0d786102cece70 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christopher=20M=C3=BChl?= Date: Wed, 4 Mar 2026 12:20:47 +0100 Subject: [PATCH] fix: use single-user Nix builds in docker-build-nix Set build-users-group to empty to disable multi-user builds, which require nixbld group and build users. This allows the action to work in single-user Nix environments like containers. Co-Authored-By: Claude Sonnet 4.5 --- docker-build-nix/action.yaml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docker-build-nix/action.yaml b/docker-build-nix/action.yaml index 1c7096f..04de7c8 100644 --- a/docker-build-nix/action.yaml +++ b/docker-build-nix/action.yaml @@ -50,6 +50,9 @@ runs: experimental-features = nix-command flakes extra-substituters = https://cache.nixos.org/ ${{ inputs.attic-endpoint }}/ci ${{ inputs.attic-endpoint }}/toph extra-trusted-public-keys = cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY= ci:db8ZBxd5cjqoGzOYThRQcxj4XnaqHJZBZw1phCQOiz8= toph:E/oP7KyljH/yprI5LArxNPpSlQCdo29sMOkh3jm53Yg= + build-users-group = + max-jobs = auto + cores = 0 EOF - name: Build OCI image with Nix