Mathieu Lirzin <m...@openmailbox.org> writes: > Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> writes: > >> Alex Vong <alexvong1...@gmail.com> writes: >> >>> Regarding gc, I remember I accidentally ran "guix gc" and removed all >>> the build dependencies like bash, glibc... Then, I realized the proper >>> way to run gc is to run "guix gc -d <DIRECTORY>". Perhaps we should >>> change the command for garbage collecting everything from "guix gc" to >>> "guix gc -a" and "guix gc --all". Does this sound reasonable? >> >> I think this is not a bad idea. It would also make “guix gc” behave >> more like the other sub-commands (i.e. require an argument). >> >> It’s not a command that’s used so often that the additional argument >> would hurt much, in my opinion. > > This makes sense to me too.
+1 from me too, since accidentally GC'ing things can be annoying, although the flags --gc-keep-outputs --gc-keep-derivations to guix-daemon help in that regard. Taylan