forked from lix-project/hydra
buildInputToString: Pass along the input's type and urr
This commit is contained in:
parent
fed1cc88c0
commit
07634e8862
|
@ -271,6 +271,8 @@ sub buildInputToString {
|
||||||
")";
|
")";
|
||||||
} else {
|
} else {
|
||||||
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
|
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
|
||||||
|
"; type = \"" . $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