Compare commits
1 commit
5b70d89c71
...
9128ddb070
Author | SHA1 | Date | |
---|---|---|---|
9128ddb070 |
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ pkgs_json() {
|
|||
for package in $packages; do
|
||||
log "Building $package"
|
||||
path=$(nix build --print-out-paths ".#$package")
|
||||
log "Calculating size of $package at $path"
|
||||
log "Calculating size of $package"
|
||||
nix path-info --closure-size --json "$path" |
|
||||
jq --compact-output --arg pkg "$package" '.[] | {"name": $pkg, "size": .closureSize, "narSize": .narSize}'
|
||||
done
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue