From d84931ee5607c152b4bc7eb23b7ab94ded9f85c7 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Mon, 21 Jul 2003 22:05:19 +0000 Subject: * Changed nix-pull to match nix-push. --- scripts/nix-collect-garbage.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts/nix-collect-garbage.in') 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 () { chomp; $alive{$_} = 1; -- cgit 1.4.1