diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 88ea373d..b1fade59 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -114,7 +114,7 @@ sub fetchInputBuild { , outputName => $mainOutput->name }; if (isValidPath($prevBuild->drvPath)) { - $input->{drvPath} = $prevBuild->drvPath; + $result->{drvPath} = $prevBuild->drvPath; } return $result;