forked from lix-project/hydra
pass svn/bzr revisions as integers
This commit is contained in:
parent
c2a7de45a5
commit
b59ca01e40
|
@ -584,7 +584,7 @@ sub inputsToArgs {
|
||||||
when ("boolean") {
|
when ("boolean") {
|
||||||
push @res, "--arg", $input, $alt->{value};
|
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, (
|
push @res, "--arg", $input, (
|
||||||
"{ outPath = builtins.storePath " . $alt->{storePath} . "" .
|
"{ outPath = builtins.storePath " . $alt->{storePath} . "" .
|
||||||
(defined $alt->{revision} ? "; rev = \"" . $alt->{revision} . "\"" : "") .
|
(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} . "" : "") .
|
||||||
|
";}"
|
||||||
|
);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue