Skip to content

Commit

Permalink
Fix hydrajobs evaluation
Browse files Browse the repository at this point in the history
Signed-off-by: Joonas Rautiola <[email protected]>
  • Loading branch information
joinemm committed Dec 4, 2024
1 parent eeb703c commit 8a985d3
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion utils.groovy
Original file line number Diff line number Diff line change
Expand Up @@ -293,7 +293,8 @@ def nix_eval_hydrajobs(List<Map> targets) {
"""

targets.each {
target = "${it.system}.${it.target}"
// note that this is in flipped order compared to #packages
target = "${it.target}.${it.system}"
drvPath = sh(script: "jq -r '.\"${target}\".drvPath' < results.json", returnStdout: true).trim()
evalError = sh(script: "jq -r '.\"${target}\".error' < results.json", returnStdout: true).trim()
it.drvPath = drvPath
Expand Down

0 comments on commit 8a985d3

Please sign in to comment.