Compare commits

..

1 commit

Author SHA1 Message Date
5b70d89c71
refactor: move scripts to scripts folder
Some checks failed
/ check (treefmt) (push) Successful in 3s
/ report-size (push) Failing after 4s
/ report-download-check (push) Has been skipped
This is a bit tidier.
2025-07-10 20:38:44 +02:00

View file

@ -45,7 +45,7 @@ pkgs_json() {
log "Building $package" log "Building $package"
path=$(nix build --print-out-paths ".#$package") path=$(nix build --print-out-paths ".#$package")
log "Calculating size of $package at $path" log "Calculating size of $package at $path"
nix path-info --closure-size --json "$path" | tee | nix path-info --closure-size --json "$path" |
jq --compact-output --arg pkg "$package" '.[] | {"name": $pkg, "size": .closureSize, "narSize": .narSize}' jq --compact-output --arg pkg "$package" '.[] | {"name": $pkg, "size": .closureSize, "narSize": .narSize}'
done done
endgroup endgroup