From 76e985109e254554224e6dee2d8e5e2445a3c615 Mon Sep 17 00:00:00 2001 From: Rhys-T <108157737+Rhys-T@users.noreply.github.com> Date: Thu, 17 Oct 2024 17:31:58 -0400 Subject: [PATCH] ci: set extra-platforms globally; maybe it'll work there --- .github/workflows/build.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/build.yml b/.github/workflows/build.yml index 3d35f1c..32bacf4 100644 --- a/.github/workflows/build.yml +++ b/.github/workflows/build.yml @@ -64,6 +64,7 @@ jobs: extra_nix_config: | experimental-features = nix-command flakes access-tokens = github.com=${{ secrets.GITHUB_TOKEN }} + ${{ matrix.qemuSystem && format('extra-platforms = {0}', matrix.qemuSystem)}} - name: Show nixpkgs version run: nix-instantiate --eval -E '(import {}).lib.version' - name: Setup cachix @@ -85,7 +86,7 @@ jobs: -I $PWD - name: Build nix packages # run: nix shell -f '' nix-build-uncached -c nix-build-uncached ci.nix -A cacheOutputs - run: nix shell -f '.' nix-build-uncached-logging -c nix-build-uncached ci.nix ${{ matrix.qemuSystem && format('--extra-platforms {0} --argstr platform {0}', matrix.qemuSystem)}} -A cacheOutputs + run: nix shell -f '.' nix-build-uncached-logging -c nix-build-uncached ci.nix ${{ matrix.qemuSystem && format('--argstr platform {0}', matrix.qemuSystem)}} -A cacheOutputs - name: Trigger NUR update # Don't replace here! if: ${{ matrix.nurRepo != '' }}