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 {
$result = "{ outPath = builtins.storePath " . $input->{storePath} . "" .
"; type = \"" . $input->{type} . "\"" .
"; inputType = \"" . $input->{type} . "\"" .
(defined $input->{uri} ? "; uri = \"" . $input->{uri} . "\"" : "") .
(defined $input->{revNumber} ? "; rev = " . $input->{revNumber} . "" : "") .
(defined $input->{revision} ? "; rev = \"" . $input->{revision} . "\"" : "") .