From 07634e88622b0d66d18c8cbdcbb1bae416494493 Mon Sep 17 00:00:00 2001 From: Shea Levy Date: Fri, 31 Jul 2015 09:47:44 -0400 Subject: [PATCH] buildInputToString: Pass along the input's type and urr --- src/lib/Hydra/Helper/AddBuilds.pm | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 52b0b030..0d58e83b 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -271,6 +271,8 @@ sub buildInputToString { ")"; } else { $result = "{ outPath = builtins.storePath " . $input->{storePath} . "" . + "; type = \"" . $input->{type} . "\"" . + (defined $input->{uri} ? "; uri = \"" . $input->{uri} . "\"" : "") . (defined $input->{revNumber} ? "; rev = " . $input->{revNumber} . "" : "") . (defined $input->{revision} ? "; rev = \"" . $input->{revision} . "\"" : "") . (defined $input->{revCount} ? "; revCount = " . $input->{revCount} . "" : "") .