* A garbage collector for installed packages. nix-collect-garbage
doesn't actually delete any packages, it just prints their
descriptor hashes. So we can do
nix info $(nix-collect-garbage)
to print out the ids of the packages that would be deleted, and
nix delpkg $(nix-collect-garbage)
to actually delete them.
This commit is contained in:
+1
-1
@@ -1,4 +1,4 @@
|
||||
bin_SCRIPTS = nix-generate-regscript nix-switch
|
||||
bin_SCRIPTS = nix-generate-regscript nix-switch nix-collect-garbage
|
||||
|
||||
install-exec-local:
|
||||
$(INSTALL) -d $(sysconfdir)/profile.d
|
||||
|
||||
Reference in New Issue
Block a user