bug-guix
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: guix-gc


From: Andreas Enge
Subject: Re: guix-gc
Date: Thu, 10 Jan 2013 11:04:21 +0100
User-agent: KMail/1.13.7 (Linux/3.2.0-4-amd64; KDE/4.8.4; x86_64; ; )

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

 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]