From 8a985d3b67f8c00dee7cf40bbe0ee4b1aec3499e Mon Sep 17 00:00:00 2001 From: Joonas Rautiola Date: Wed, 4 Dec 2024 15:04:36 +0200 Subject: [PATCH] Fix hydrajobs evaluation Signed-off-by: Joonas Rautiola --- utils.groovy | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/utils.groovy b/utils.groovy index 9bf66dd..48ce57e 100644 --- a/utils.groovy +++ b/utils.groovy @@ -293,7 +293,8 @@ def nix_eval_hydrajobs(List 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