fixup/pin-kernel #4
| @@ -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") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user