diff --git a/src/lib/Hydra/Helper/AddBuilds.pm b/src/lib/Hydra/Helper/AddBuilds.pm index 79204250..7181841d 100644 --- a/src/lib/Hydra/Helper/AddBuilds.pm +++ b/src/lib/Hydra/Helper/AddBuilds.pm @@ -584,7 +584,7 @@ sub inputsToArgs { when ("boolean") { push @res, "--arg", $input, $alt->{value}; } - when (["svn", "svn-checkout", "path", "build", "git", "hg", "sysbuild", "bzr", "bzr-checkout"]) { + when (["path", "build", "git", "hg", "sysbuild"]) { push @res, "--arg", $input, ( "{ outPath = builtins.storePath " . $alt->{storePath} . "" . (defined $alt->{revision} ? "; rev = \"" . $alt->{revision} . "\"" : "") . @@ -592,6 +592,13 @@ sub inputsToArgs { ";}" ); } + when (["svn", "svn-checkout", "bzr", "bzr-checkout"]) { + push @res, "--arg", $input, ( + "{ outPath = builtins.storePath " . $alt->{storePath} . "" . + (defined $alt->{revision} ? "; rev = " . $alt->{revision} . "" : "") . + ";}" + ); + } } } }