reduce attic to 500MB
Some checks failed
Some checks failed
Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
parent
0bae399d47
commit
e2931be9af
@ -7,7 +7,7 @@ set -e
|
|||||||
|
|
||||||
# retrieve all paths under 100M
|
# retrieve all paths under 100M
|
||||||
nix_paths=$(nix path-info --json --all --closure-size \
|
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')
|
| jq 'map(.key) | join("\n")' | sed -E -e 's/\\n/\n/g;s/^"//g;s/"$//g')
|
||||||
|
|
||||||
readarray -t nix_path_array < <(echo "$nix_paths")
|
readarray -t nix_path_array < <(echo "$nix_paths")
|
||||||
|
Loading…
x
Reference in New Issue
Block a user