From b0030b910b22e448a8c152e02dc20c21e644ce75 Mon Sep 17 00:00:00 2001 From: Archit Gupta Date: Tue, 15 Jul 2025 09:24:23 -0700 Subject: [PATCH] Fix PR checks At some point, `nix eval` stopped exiting on errors in nested objects. Passing --json makes it fail if theres an error anywhere in the object. --- .github/workflows/pr.yml | 2 +- .github/workflows/update.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/pr.yml b/.github/workflows/pr.yml index d4a66e3..35661a7 100644 --- a/.github/workflows/pr.yml +++ b/.github/workflows/pr.yml @@ -17,4 +17,4 @@ jobs: steps: - uses: actions/checkout@v4 - uses: cachix/install-nix-action@master - - run: nix eval .#tests + - run: nix eval --json .#tests diff --git a/.github/workflows/update.yml b/.github/workflows/update.yml index 010611c..1ef63a5 100644 --- a/.github/workflows/update.yml +++ b/.github/workflows/update.yml @@ -21,5 +21,5 @@ jobs: git config user.email "41898282+github-actions[bot]@users.noreply.github.com" - run: nix flake update --commit-lock-file - run: nix flake check --all-systems - - run: nix eval .#tests + - run: nix eval --json .#tests - run: git push