From 6ae4c7700bf8a4db3631336b08be2a2a92fdd854 Mon Sep 17 00:00:00 2001 From: Nicolas Mattia Date: Mon, 7 Sep 2020 16:04:46 +0200 Subject: [PATCH] Don't push drv files to cachix --- .github/actions/nix/install-nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/actions/nix/install-nix b/.github/actions/nix/install-nix index 7610c40..7e34e61 100755 --- a/.github/actions/nix/install-nix +++ b/.github/actions/nix/install-nix @@ -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