Subject: Re: [bug#31360] [PATCH 0/5] 'guix pack --relocatable'

From: [email-masked] (Ludovic Courtès)
Date: Fri, 04 May 2018 11:27:31 +0200

Hello!

"Thompson, David" <[email-masked]> skribis:

> On Thu, May 3, 2018 at 4:15 PM, Ludovic Courtès <[email-masked]> wrote:
>> Hello Guix!
>>
>> This is the cleaned up version of what we discussed at:
>>
>>   https://lists.gnu.org/archive/html/guix-devel/2018-04/msg00252.html
>>
>> Part of the work here is to use relative symlinks in profiles and in
>> links created with ‘guix pack -S’ such that, if you run:
>>
>>   guix pack -R -S /mybin=bin bash-static
>>
>> you can then unpack the result and run:
>>
>>   ./mybin/sh
>
> Just wanted to say that this is awesome! Is there a way to share host
> system resources? I would like a relocatable pack that could connect
> to the host's X server and do graphical things.

Yes: the C wrapper, ‘run-in-namespace.c’, shares everything.  That is,
it creates a separate mount namespace but the only difference compared
to the host is /gnu/store.

Ludo’.