Skip to content

Commit

Permalink
Update cachix install command to use flake-based nix profile instead …
Browse files Browse the repository at this point in the history
…of nix-env
  • Loading branch information
jake-arkinstall committed Oct 23, 2024
1 parent 9161caa commit 1b9f7b5
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-with-nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@ jobs:
with:
name: tket
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
installCommand: "nix profile install --accept-flake-config nixpkgs#cachix"
- name: Build pytket-cutensornet
run: nix build --accept-flake-config
test:
Expand All @@ -34,5 +35,6 @@ jobs:
with:
name: tket
authToken: '${{ secrets.CACHIX_AUTH_TOKEN }}'
installCommand: "nix profile install --accept-flake-config nixpkgs#cachix"
- name: Test pytket-cutensornet
run: nix run .#tests --accept-flake-config

0 comments on commit 1b9f7b5

Please sign in to comment.