guix-patches
[Top][All Lists]
Advanced

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

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


From: Thompson, David
Subject: [bug#31360] [PATCH 0/5] 'guix pack --relocatable'
Date: Fri, 4 May 2018 09:01:49 -0400

On Fri, May 4, 2018 at 5:27 AM, Ludovic Courtès <address@hidden> wrote:
> Hello!
>
> "Thompson, David" <address@hidden> skribis:
>
>> On Thu, May 3, 2018 at 4:15 PM, Ludovic Courtès <address@hidden> 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.

Ah, yes, that makes perfect sense. Thanks!

- Dave





reply via email to

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