Merge remote-tracking branch 'upstream/nix-2.21'

This commit is contained in:
John Ericson
2024-09-24 11:23:21 -04:00
3 changed files with 3 additions and 3 deletions

View File

@ -330,7 +330,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;