Pass a build's drv path as a store path

This commit is contained in:
Shea Levy 2015-08-10 13:48:09 -04:00
parent ce5ffa9fba
commit 882b6b3377

View file

@ -288,7 +288,7 @@ sub buildInputToString {
(defined $input->{shortRev} ? "; shortRev = \"" . $input->{shortRev} . "\"" : "") . (defined $input->{shortRev} ? "; shortRev = \"" . $input->{shortRev} . "\"" : "") .
(defined $input->{version} ? "; version = \"" . $input->{version} . "\"" : "") . (defined $input->{version} ? "; version = \"" . $input->{version} . "\"" : "") .
(defined $input->{outputName} ? "; outputName = \"" . $input->{outputName} . "\"" : "") . (defined $input->{outputName} ? "; outputName = \"" . $input->{outputName} . "\"" : "") .
(defined $input->{drvPath} ? "; drvPath = " . $input->{drvPath} . "" : "") . (defined $input->{drvPath} ? "; drvPath = builtins.storePath " . $input->{drvPath} . "" : "") .
";}"; ";}";
} }
return $result; return $result;