From b193df30f4a61532f4a056cd759263f2ce453ead Mon Sep 17 00:00:00 2001 From: TECHNOFAB Date: Fri, 4 Apr 2025 22:22:35 +0200 Subject: [PATCH] fix(script): quote NEW_PATHS to preserve newlines hopefully finally gets rid of spaces which break attic --- scripts/finalize_nix_ci.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/finalize_nix_ci.sh b/scripts/finalize_nix_ci.sh index f724d3f..baa6a0d 100644 --- a/scripts/finalize_nix_ci.sh +++ b/scripts/finalize_nix_ci.sh @@ -12,7 +12,7 @@ echo -e "\\e[0Ksection_start:`date +%s`:finalize_nix_ci[collapsed=true]\\r\\e[0K if [ -z "$NIX_CI_DISABLE_CACHE" ]; then echo -e "\\e[0Ksection_start:`date +%s`:cache_push[collapsed=true]\\r\\e[0KPushing $COUNT new store paths to cache ($NIX_CI_CACHE_STRATEGY)" - echo -n $NEW_PATHS | { + echo -n "$NEW_PATHS" | { case "$NIX_CI_CACHE_STRATEGY" in "runner") export RUNNER_CACHE=''${RUNNER_CACHE:-"file://$(pwd)/.nix-cache"}