forked from lix-project/hydra
Merge pull request #226 from shlevy/pass-input-uri-and-type
buildInputToString: Pass along the input's type and urr
This commit is contained in:
commit
deee99b518
|
@ -271,6 +271,8 @@ sub buildInputToString {
|
||||||
")";
|
")";
|
||||||
} else {
|
} else {
|
||||||
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
|
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
|
||||||
|
"; inputType = \"" . $input->{type} . "\"" .
|
||||||
|
(defined $input->{uri} ? "; uri = \"" . $input->{uri} . "\"" : "") .
|
||||||
(defined $input->{revNumber} ? "; rev = " . $input->{revNumber} . "" : "") .
|
(defined $input->{revNumber} ? "; rev = " . $input->{revNumber} . "" : "") .
|
||||||
(defined $input->{revision} ? "; rev = \"" . $input->{revision} . "\"" : "") .
|
(defined $input->{revision} ? "; rev = \"" . $input->{revision} . "\"" : "") .
|
||||||
(defined $input->{revCount} ? "; revCount = " . $input->{revCount} . "" : "") .
|
(defined $input->{revCount} ? "; revCount = " . $input->{revCount} . "" : "") .
|
||||||
|
|
Loading…
Reference in a new issue