From e2931be9af084e3cccd181d5a619808e79ee1e81 Mon Sep 17 00:00:00 2001 From: ahuston-0 Date: Sun, 2 Feb 2025 14:03:23 -0500 Subject: [PATCH] reduce attic to 500MB Signed-off-by: ahuston-0 --- utils/attic-push.bash | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/attic-push.bash b/utils/attic-push.bash index 87b6b7a..0200a0c 100755 --- a/utils/attic-push.bash +++ b/utils/attic-push.bash @@ -7,7 +7,7 @@ set -e # retrieve all paths under 100M nix_paths=$(nix path-info --json --all --closure-size \ - | jq 'map_values(.closureSize | select(. < 8e8)) | to_entries | sort_by(.value)' \ + | jq 'map_values(.closureSize | select(. < 5e8)) | to_entries | sort_by(.value)' \ | jq 'map(.key) | join("\n")' | sed -E -e 's/\\n/\n/g;s/^"//g;s/"$//g') readarray -t nix_path_array < <(echo "$nix_paths")