1
1
mirror of https://github.com/nmattia/niv.git synced 2024-11-07 11:28:45 +03:00

Don't push drv files to cachix

This commit is contained in:
Nicolas Mattia 2020-09-07 16:04:46 +02:00
parent fad2a6cbfb
commit 6ae4c7700b

View File

@ -66,7 +66,7 @@ save_cache() {
if [ -n "${CACHIX_SIGNING_KEY:-}" ];
then
echo "CACHIX_SIGNING_KEY is set, uploading cache"
nix path-info --all | cachix push $cachix_cache
nix path-info --all | grep -v '.*.drv$' | cachix push $cachix_cache
else
echo "CACHIX_SIGNING_KEY not set, not uploading cache"
fi