From 1e41d24358348463ba75d2ed80358f8a1d6001ce Mon Sep 17 00:00:00 2001 From: Seth Flynn Date: Sat, 25 Jan 2025 19:57:26 -0500 Subject: ci: make hydraJobs on a per-system basis --- .github/workflows/ci.yaml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to '.github/workflows') diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 069fd0b..1da4534 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -18,6 +18,9 @@ jobs: runs-on: ${{ matrix.os }} + env: + SYSTEM: ${{ matrix.system }} + steps: # https://github.com/actions/runner-images/issues/2840#issuecomment-790492173 - name: Clear disk space @@ -42,16 +45,13 @@ jobs: authToken: ${{ secrets.CACHIX_AUTH_TOKEN }} - name: Run build - env: - SYSTEM: ${{ matrix.system }} run: | - nix run \ + nix run --inputs-from . \ github:Mic92/nix-fast-build -- \ --no-nom \ --skip-cached \ - --systems "$SYSTEM" \ --option allow-import-from-derivation false \ - --flake '.#hydraJobs' + --flake ".#hydraJobs.$SYSTEM" build-gate: name: Build gate -- cgit v1.2.3