From 882b6b3377648ee9e8fa84a34b9ca57f4f3988f0 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Mon, 10 Aug 2015 13:48:09 -0400 Subject: [PATCH] Pass a build's drv path as a store path --- src/lib/Hydra/Helper/AddBuilds.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 5d72e7a7..88ea373d 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -288,7 +288,7 @@ sub buildInputToString { (defined $input->{shortRev} ? "; shortRev = \"" . $input->{shortRev} . "\"" : "") . (defined $input->{version} ? "; version = \"" . $input->{version} . "\"" : "") . (defined $input->{outputName} ? "; outputName = \"" . $input->{outputName} . "\"" : "") . - (defined $input->{drvPath} ? "; drvPath = " . $input->{drvPath} . "" : "") . + (defined $input->{drvPath} ? "; drvPath = builtins.storePath " . $input->{drvPath} . "" : "") . ";}"; } return $result;