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
parent 8481acda2f
commit 56f07573ea
4 changed files with 12 additions and 12 deletions

View File

@@ -212,7 +212,7 @@ sub checkPath {
sub serveFile {
my ($c, $path) = @_;
my $res = run(cmd => ["nix", "--experimental-features", "nix-command",
my $res = runCommand(cmd => ["nix", "--experimental-features", "nix-command",
"ls-store", "--store", getStoreUri(), "--json", "$path"]);
if ($res->{status}) {