From 2d6442040acae88fccc4a3369db6f327fd9b9f73 Mon Sep 17 00:00:00 2001 From: seth Date: Mon, 6 Mar 2023 09:41:31 -0500 Subject: fix(actions): set env vars for nix flake check --- .github/workflows/checkandformat.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/checkandformat.yml b/.github/workflows/checkandformat.yml index 35722a5..8bd9a83 100644 --- a/.github/workflows/checkandformat.yml +++ b/.github/workflows/checkandformat.yml @@ -3,10 +3,10 @@ name: check and format flake on: pull_request: paths: - - '**.nix' + - "**.nix" push: paths: - - '**.nix' + - "**.nix" workflow_dispatch: jobs: @@ -19,7 +19,10 @@ jobs: with: github_access_token: ${{ secrets.GITHUB_TOKEN }} - - run: nix flake check + - run: | + export NIXPKGS_ALLOW_UNSUPPORTED_SYSTEM=1 + export NIXPKGS_ALLOW_BROKEN=1 + nix flake check --impure format: if: ${{ github.event_name != 'pull_request' }} runs-on: ubuntu-latest -- cgit v1.2.3