Update nix build command

This commit is contained in:
NeilClack
2026-08-07 15:32:41 -05:00
parent 23821e1be6
commit ae12d50116
2 changed files with 7 additions and 3 deletions
+3 -1
View File
@@ -28,8 +28,10 @@ jobs:
git remote -v 2>&1 || true
test -f flake.nix && echo "flake.nix present" || echo "NO flake.nix"
# checks is keyed per-system (checks.<system>.default); nix build's
# #attr shorthand can't resolve it, so resolve the current system inline.
- name: Build + offline test suite
run: nix build -L .#checks.default
run: nix build -L ".#checks.$(nix eval --impure --raw --expr 'builtins.currentSystem').default"
- name: Live portal tests
if: ${{ secrets.RW_LIVE_API_KEY != '' }}