mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
* Changed nix-pull to match nix-push.
This commit is contained in:
parent
c7bdb76fe4
commit
d84931ee56
2 changed files with 16 additions and 15 deletions
|
@ -5,7 +5,7 @@ my $storedir = "@prefix@/store";
|
|||
|
||||
my %alive;
|
||||
|
||||
open HASHES, "nix -qrh \$(cat $linkdir/*.hash) |" or die "in `nix -qrh'";
|
||||
open HASHES, "nix --query --refs \$(cat $linkdir/*.hash) |" or die "in `nix -qrh'";
|
||||
while (<HASHES>) {
|
||||
chomp;
|
||||
$alive{$_} = 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue