Skip to content

Commit 8d68104

Browse files
committed
Fix incorrect computation of build list
1 parent 80ba6e5 commit 8d68104

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

invfile.lua.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -692,9 +692,9 @@ format of the query above.
692692
The build list is a simple file with each package / revision combination taking
693693
exactly one line.
694694

695-
computeBuildList = '(.[1] | to_entries) - (.[0] | to_entries) |'
696-
.. 'map(.key as $k | .value | map($k + ":" + .)) |'
697-
.. 'flatten | join("\n")'
695+
computeBuildList = 'map(to_entries |'
696+
.. 'map(.key as $k | .value | map($k + ":" + .))'
697+
.. '| flatten) | .[1] - .[0] | join("\n")'
698698

699699
inv.task('main:generate_list:builds')
700700
.using(jq).run('/jq-linux64 --slurp --raw-output \''

0 commit comments

Comments
 (0)