about summary refs log tree commit diff
path: root/scripts/nix-collect-garbage.in
diff options
context:
space:
mode:
authorEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T22·05+0000
committerEelco Dolstra <e.dolstra@tudelft.nl>2003-07-21T22·05+0000
commitd84931ee5607c152b4bc7eb23b7ab94ded9f85c7 (patch)
tree4d74260124d641d4cbc4a802f734eb5a78d91955 /scripts/nix-collect-garbage.in
parentc7bdb76fe461e2335caeea01c16b39a2784fa506 (diff)
* Changed nix-pull to match nix-push.
Diffstat (limited to 'scripts/nix-collect-garbage.in')
-rwxr-xr-xscripts/nix-collect-garbage.in2
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;