[Top][All Lists]

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

Registering GC roots

From: Ludovic Courtès
Subject: Registering GC roots
Date: Fri, 16 Oct 2015 10:10:52 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)

Alex Vong <address@hidden> skribis:

> Talking about interactive CLIs, in general I am not a fan of it too,
> especially after you get used to the program. That's why I am using
> plain apt-get instead of aptitude which uses ncurses. However, I will
> say it is sometimes useful. For example, in git clean, there is an
> `-i' switch, which can help if you don't want to mess with your
> .gitignore file. So perhaps making something GC roots is like putting
> it in .gitignore in git, but we should still provide a way for
> interacting GC-ing.

Currently there are two documented ways to add GC roots from the command
line: creating a profile with ‘guix package’, and using the -r option of
‘guix build.’

What David suggests is to add a similar -r option to ‘guix environment’,
which sounds good to me.

The GC process itself will not be interactive.  Who would want to hit
‘y’ or ‘n’ for each one of the thousands of files considered?  :-)


reply via email to

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