[Top][All Lists]

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

Re: [PATCH] Creating a docker image with Guix

From: Ludovic Courtès
Subject: Re: [PATCH] Creating a docker image with Guix
Date: Wed, 04 Jan 2017 23:12:18 +0100
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Ricardo Wurmus <address@hidden> skribis:

> Chris Marusich <address@hidden> writes:
>> What happens if I invoke this command while GC is trying to delete the
>> specified path?
> It will do weird things, I guess.  It’s best to do this inside of “guix
> environment” as I demonstrated because while you’re in the environment
> the temporary profile is protected from GC.

But if you do “guix archive --export-docker-image=foo emacs”, then Emacs
is protected from GC for the dynamic extend of ‘with-store’ in

Also, in practice, the ‘list-runtime-roots’ helper will notice the file
name in the arguments to ‘guix archive’ and will make it a GC root.

So that does not introduce any difference compared to the existing
behavior, I think.


reply via email to

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