From 867cfad681b81fa9fa3e25762520e9e45308fa43 Mon Sep 17 00:00:00 2001 From: Luc Perkins Date: Sat, 18 May 2024 16:23:35 -0300 Subject: [PATCH] Fix broken dev shell build --- .github/workflows/build.yaml | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/.github/workflows/build.yaml b/.github/workflows/build.yaml index a917b3b..24bcf75 100644 --- a/.github/workflows/build.yaml +++ b/.github/workflows/build.yaml @@ -32,11 +32,13 @@ jobs: - uses: actions/checkout@v3 - uses: DeterminateSystems/nix-installer-action@main - uses: DeterminateSystems/magic-nix-cache-action@main - - name: Build package - run: | - # Cache dev shell - nix build .#devShells.${{ matrix.systems.nix-system }} + - name: Build and cache dev shell + run: | + nix build ".#devShells.${{ matrix.systems.nix-system }}.default" + + - name: Build package and create closure + run: | nix build .# -L --fallback && nix-store --export $(nix-store -qR ./result) | xz -9 > "${{ env.CLOSURE_FILE }}" - name: Upload a Build Artifact