fix the binary cache calling isValidPath, and 2 other files with the same issue

This commit is contained in:
Michael Bishop
2024-09-20 04:08:22 -03:00
parent 879ceb5cdc
commit cc1b6d394e
3 changed files with 3 additions and 3 deletions

View File

@ -329,7 +329,7 @@ sub nar :Local :Args(1) {
else {
$path = $Nix::Config::storeDir . "/$path";
gone($c, "Path " . $path . " is no longer available.") unless isValidPath($path);
gone($c, "Path " . $path . " is no longer available.") unless $MACHINE_LOCAL_STORE->isValidPath($path);
$c->stash->{current_view} = 'NixNAR';
$c->stash->{storePath} = $path;