diff --git a/ci/eval/compare.jq b/ci/eval/compare.jq index fa335aadae96e..9f3a032d13841 100644 --- a/ci/eval/compare.jq +++ b/ci/eval/compare.jq @@ -109,11 +109,23 @@ def diff($before; $after): | ($after[0] | expand_system) as $after | .attrdiff = diff($before; $after) | .rebuildsByKernel = ( - .attrdiff.changed - | map({ - key: ., - value: diff($before."\(.)"; $after."\(.)").changed - }) + [ + ( + .attrdiff.changed[] + | { + key: ., + value: diff($before."\(.)"; $after."\(.)").changed + } + ) + , + ( + .attrdiff.added[] + | { + key: ., + value: ($after."\(.)" | keys) + } + ) + ] | from_entries | transpose )