Generate the cache hash by flake.lock

This commit is contained in:
Thiago Kenji Okada
2022-07-08 20:02:52 +01:00
parent bcf03a7746
commit 50363ab85b

View File

@ -24,7 +24,7 @@ jobs:
id: cache-nix-store
with:
path: nix-store.dump
key: nix-store-${{ hashFiles('flake.*') }}
key: nix-store-${{ hashFiles('flake.lock') }}
restore-keys: |
nix-store-
- name: Import /nix/store contents
@ -58,7 +58,7 @@ jobs:
id: cache-nix-store
with:
path: nix-store.dump
key: nix-store-${{ hashFiles('flake.*') }}
key: nix-store-${{ hashFiles('flake.lock') }}
restore-keys: |
nix-store-
- name: Import /nix/store contents
@ -87,7 +87,7 @@ jobs:
id: cache-nix-store-emacsGit
with:
path: nix-store.dump
key: nix-store-emacsGit-${{ hashFiles('flake.*') }}
key: nix-store-emacsGit-${{ hashFiles('flake.lock') }}
restore-keys: |
nix-store-emacsGit-
- name: Import /nix/store contents