on master help sign in
Cache full nix
cb499b1iko
.github/actions/nix_cache/action.yaml+2−5
@@ -14,16 +14,13 @@ runs:
14 - name: make nix store writable
14 - name: make nix store writable
15 shell: bash
15 shell: bash
16 run: |
16 run: |
17− sudo chown -R $USER /nix/store
17+ sudo chown -R $USER /nix
18 - name: Cache Nix
18 - name: Cache Nix
19 id: cache-nix
19 id: cache-nix
20 uses: actions/cache@v2.1.7
20 uses: actions/cache@v2.1.7
21 with:
21 with:
22 path: |
22 path: |
23− /nix/store/
23+ /nix
24− /nix/var/nix/profiles/per-user/
25− /nix/var/nix/profiles/default/bin/
26− /nix/var/nix/profiles/per-user/root/channels
27 key: ${{ inputs.key }}
24 key: ${{ inputs.key }}
28 restore-keys: ${{ inputs.restore-keys }}
25 restore-keys: ${{ inputs.restore-keys }}
29 # - name: Move nix store
26 # - name: Move nix store