diff options
author | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-21T22·05+0000 |
---|---|---|
committer | Eelco Dolstra <e.dolstra@tudelft.nl> | 2003-07-21T22·05+0000 |
commit | d84931ee5607c152b4bc7eb23b7ab94ded9f85c7 (patch) | |
tree | 4d74260124d641d4cbc4a802f734eb5a78d91955 /scripts/nix-collect-garbage.in | |
parent | c7bdb76fe461e2335caeea01c16b39a2784fa506 (diff) |
* Changed nix-pull to match nix-push.
Diffstat (limited to 'scripts/nix-collect-garbage.in')
-rwxr-xr-x | scripts/nix-collect-garbage.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/nix-collect-garbage.in b/scripts/nix-collect-garbage.in index 1506416b23a5..8f54ba20f3e4 100755 --- a/scripts/nix-collect-garbage.in +++ b/scripts/nix-collect-garbage.in @@ -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; |