diff --git a/scripts/create-report.sh b/scripts/create-report.sh index 628e024..795f676 100755 --- a/scripts/create-report.sh +++ b/scripts/create-report.sh @@ -45,7 +45,7 @@ pkgs_json() { log "Building $package" path=$(nix build --print-out-paths ".#$package") 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}' done endgroup