From 1b9f7b5a55a4cfb15a1f103f526becfccb9e6359 Mon Sep 17 00:00:00 2001 From: Jake Arkinstall <65358059+jake-arkinstall@users.noreply.github.com> Date: Wed, 23 Oct 2024 12:25:02 +0100 Subject: [PATCH] Update cachix install command to use flake-based nix profile instead of nix-env --- .github/workflows/build-with-nix.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/workflows/build-with-nix.yml b/.github/workflows/build-with-nix.yml index 962d40c1..3a4b1a4c 100644 --- a/.github/workflows/build-with-nix.yml +++ b/.github/workflows/build-with-nix.yml @@ -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: @@ -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