From 3fedbf6c4b1a827ec67325c1ac9c82b2c1f64f63 Mon Sep 17 00:00:00 2001 From: "Matthias J. Kannwischer" Date: Thu, 13 Jun 2024 11:03:15 +0800 Subject: [PATCH] adjust nix cache configuration Signed-off-by: Matthias J. Kannwischer --- .github/actions/setup-nix/action.yml | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.github/actions/setup-nix/action.yml b/.github/actions/setup-nix/action.yml index 719aadb32..785c96e82 100644 --- a/.github/actions/setup-nix/action.yml +++ b/.github/actions/setup-nix/action.yml @@ -13,6 +13,8 @@ runs: steps: - uses: DeterminateSystems/nix-installer-action@v12 - uses: nix-community/cache-nix-action@v5 + with: + primary-key: nix-${{ runner.os }}-${{ hashFiles('**/*.nix') }} - name: Prepare nix dev shell shell: nix develop .#ci -c bash -e {0} run: |