Am Sonntag, 6. Januar 2013 schrieb Ludovic Courtès:

> Commit fe8ff02 adds a ‘guix-gc’ command to invoke the GC, similar to

> part of the ‘nix-store’ command. Below is a copy of the manual.

>

> Comments welcome!

 

When running "guix-gc" without specifying any root, the complete content of /nix/store was classified as dead. This looks a bit excessive to me; should not at least the gnu build system that would be used to build a package with the currently installed guix be preserved? Even if the user has not installed gcc in his environement, for instance, the "current" gcc should be kept, whereas any older gcc (I had quite a few of them corresponding to several versions of guix) should be deleted.

 

If I see it correctly, this means that the output of

guix-build hello --dry-run

should be kept in the store.

 

 

I also got the following error on the first run:

 

deleting `/nix/store/j29s9129di8lzx7xbc9rj0ywx05pivij-readline-6.2'

error: build failed: getting status of `/nix/store/j29s9129di8lzx7xbc9rj0ywx05pivij-readline-6.2': No such file or directory

 

But the next run worked and deleted everything.

 

Andreas