buildInputToString: Use inputType attribute instead of type attribute

This commit is contained in:
Shea Levy 2015-08-04 06:50:04 -04:00
parent 07634e8862
commit d450d08929

View file

@ -271,7 +271,7 @@ sub buildInputToString {
")"; ")";
} else { } else {
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" . $result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
"; type = \"" . $input->{type} . "\"" . "; inputType = \"" . $input->{type} . "\"" .
(defined $input->{uri} ? "; uri = \"" . $input->{uri} . "\"" : "") . (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} . "\"" : "") .