diff options
| author | seth <[email protected]> | 2023-03-06 09:41:31 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-03-06 09:41:31 -0500 |
| commit | 2d6442040acae88fccc4a3369db6f327fd9b9f73 (patch) | |
| tree | a5111d9a1f0f3bdc0f5e547a0accf17f09ce14a2 | |
| parent | 327ecad0fca0d06fd5c8a7f437607af00a52ad78 (diff) | |
fix(actions): set env vars for nix flake check
| -rw-r--r-- | .github/workflows/checkandformat.yml | 9 |
1 files 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 |
