on master help sign in
Switch back to /nix/store
commitbbe6d1f1c083a46aeee758cf1972db67448dedda authoriko <ilyakooo0@gmail.com> dateWed 22 Dec 2021, 09:27 (5 years ago) parent51e28bb
2 files changed+5−5
.github/actions/nix_cache/action.yaml+3−3 .github/actions/nix_cache_post/action.yaml+2−2
.github/actions/nix_cache/action.yaml+3−3
@@ -16,7 +16,7 @@ runs:
1616 uses: actions/cache@v2.1.7
1717 with:
1818 path: |
19− ~/nix
19+ ~/nix/store
2020 key: ${{ inputs.key }}
2121 restore-keys: ${{ inputs.restore-keys }}
2222 - name: Move nix store
@@ -25,6 +25,6 @@ runs:
2525 CACHE_HIT: ${{ steps.cache-nix.outputs.cache-hit }}
2626 run: |
2727 if [[ "$CACHE_HIT" == 'true' ]]; then
28− sudo mkdir -p /nix
29− sudo mv -f ~/nix/* /nix/
28+ sudo mkdir -p /nix/store
29+ sudo mv -f ~/nix/store/* /nix/store/
3030 fi
.github/actions/nix_cache_post/action.yaml+2−2
@@ -6,5 +6,5 @@ runs:
66 - name: Move nix store
77 shell: bash
88 run: |
9− mkdir -p ~/nix
10− sudo mv -f /nix/* ~/nix/
9+ mkdir -p ~/nix/store
10+ sudo mv -f /nix/store/* ~/nix/store/