Avoid shadowing internal run function by renaming it to runCommand

see https://github.com/NixOS/hydra/issues/1520
This commit is contained in:
Jörg Thalheim
2025-09-12 21:02:51 +02:00
committed by ahuston-0
parent f6fa2e16c0
commit b832cab12c
4 changed files with 12 additions and 12 deletions

View File

@@ -32,7 +32,7 @@ sub fetchInput {
my $stdout = ""; my $stderr = ""; my $res;
if (! -d $clonePath) {
# Clone the repository.
$res = run(timeout => 600,
$res = runCommand(timeout => 600,
cmd => ["darcs", "get", "--lazy", $uri, $clonePath],
dir => $ENV{"TMPDIR"});
die "Error getting darcs repo at `$uri':\n$stderr" if $res->{status};