It looks like the option --json-format used here:
|
`nix --experimental-features nix-command path-info --json --json-format 2 --all | jq '.info | map(.narSize) | add'` |
Does not exist in documentation nor in actual implementation.
Tested on Nix v2.29 and v2.31.