Skip to content

Commit

Permalink
Adding --accept-flake-config to CI to allow upstream cachix usage
Browse files Browse the repository at this point in the history
  • Loading branch information
jake-arkinstall committed Jul 30, 2024
1 parent 2c349d1 commit 817f713
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/build-with-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ on:

concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: false
cancel-in-progress: true
jobs:
build:
strategy:
Expand All @@ -22,7 +22,7 @@ jobs:
with:
name: tket
- name: Build pytket-cutensornet
run: nix build
run: nix build --accept-flake-config
test:
needs: build
runs-on: nixos-gpu
Expand All @@ -34,4 +34,4 @@ jobs:
name: tket
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
- name: Test pytket-cutensornet
run: nix run .#tests
run: nix run .#tests --accept-flake-config

0 comments on commit 817f713

Please sign in to comment.