reduce attic to 500MB

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
ahuston-0 2025-02-02 14:03:23 -05:00
parent 0bae399d47
commit e2931be9af
No known key found for this signature in database
GPG Key ID: 47940175096C1330

@ -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")