Avoid shadowing internal run function by renaming it to runCommand
see https://github.com/NixOS/hydra/issues/1520
This commit is contained in:
@@ -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}) {
|
||||
|
||||
Reference in New Issue
Block a user