normal
commitdd8025ef78571c3fa172e0092448213f8f1d775d
authoriko <ilyakooo0@gmail.com>
dateThu 23 Dec 2021, 11:20 (5 years ago)
parentbe70e35
.github/actions/nix_cache/action.yaml+1−1
@@ -42,6 +42,6 @@ runs:
4242 if [[ -d ~/nix ]]; then
4343 echo "in"
4444 ls ~/nix
45− find -d ~/nix/store -maxdepth 1 | sudo xargs -I {} mv -f {} /nix/store/
45+ find ~/nix/store -maxdepth 1 | sudo xargs -I {} mv -f {} /nix/store/
4646 sudo mv -f ~/nix/var/nix/db/db.sqlite /nix/var/nix/db/db.sqlite
4747 fi
.github/actions/nix_cache_post/action.yaml+1−1
@@ -7,5 +7,5 @@ runs:
77 shell: bash
88 run: |
99 mkdir -p ~/nix/store/ ~/nix/var/nix/db/
10− find -d /nix/store -maxdepth 1 | sudo xargs -I {} mv -f {} ~/nix/store/
10+ find /nix/store -maxdepth 1 | sudo xargs -I {} mv -f {} ~/nix/store/
1111 sudo mv -f /nix/var/nix/db/db.sqlite ~/nix/var/nix/db/db.sqlite