From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:36345) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEaMg-0004Ey-9k for guix-patches@gnu.org; Fri, 04 May 2018 09:03:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEaMa-0002pE-Ik for guix-patches@gnu.org; Fri, 04 May 2018 09:03:10 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:41120) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEaMa-0002ox-EL for guix-patches@gnu.org; Fri, 04 May 2018 09:03:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEaMY-00034u-Va for guix-patches@gnu.org; Fri, 04 May 2018 09:03:04 -0400 Subject: [bug#31360] [PATCH 0/5] 'guix pack --relocatable' Resent-Message-ID: MIME-Version: 1.0 In-Reply-To: <87y3gzvkho.fsf@gnu.org> References: <20180503201531.22213-1-ludo@gnu.org> <87y3gzvkho.fsf@gnu.org> From: "Thompson, David" Date: Fri, 4 May 2018 09:01:49 -0400 Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+kyle=kyleam.com@gnu.org Sender: "Guix-patches" To: Ludovic =?UTF-8?Q?Court=C3=A8s?= Cc: 31360@debbugs.gnu.org On Fri, May 4, 2018 at 5:27 AM, Ludovic Court=C3=A8s wrote: > Hello! > > "Thompson, David" skribis: > >> On Thu, May 3, 2018 at 4:15 PM, Ludovic Court=C3=A8s wrot= e: >>> 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 =E2=80=98guix pack -S=E2=80=99 such that, if you run= : >>> >>> guix pack -R -S /mybin=3Dbin 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, =E2=80=98run-in-namespace.c=E2=80=99, shares everythi= ng. 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