diff --git a/bin/nix-build-and-cache b/bin/nix-build-and-cache index ebfcf4f8..f7f5223e 100755 --- a/bin/nix-build-and-cache +++ b/bin/nix-build-and-cache @@ -18,6 +18,8 @@ just() { <<< "${derivations[*]}" ) + echo "Found ${#upload_paths[@]} paths to upload" + if [ -z ${ATTIC_TOKEN+x} ]; then echo "\$ATTIC_TOKEN is unset, skipping uploading to the binary cache" return