fixup/pin-kernel #4

Merged
ahuston-0 merged 4 commits from fixup/pin-kernel into main 2025-02-14 00:15:07 -05:00
Showing only changes of commit e2931be9af - Show all commits

View File

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