mirror of
https://github.com/NixOS/nix
synced 2025-07-11 09:53:55 +02:00
* Merge critical bug fixes from trunk (r2536, r2537).
This commit is contained in:
parent
20cb2d80c6
commit
937a54ae4a
2 changed files with 5 additions and 5 deletions
|
@ -76,7 +76,7 @@ addToQueue $targetPath;
|
|||
|
||||
sub isValidPath {
|
||||
my $p = shift;
|
||||
system "@bindir@/nix-store --isvalid '$p' 2> /dev/null";
|
||||
system "@bindir@/nix-store --check-validity '$p' 2> /dev/null";
|
||||
return $? == 0;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue