From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:44709) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1fEX0X-0002HO-K3 for guix-patches@gnu.org; Fri, 04 May 2018 05:28:06 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1fEX0U-00086a-Ga for guix-patches@gnu.org; Fri, 04 May 2018 05:28:05 -0400 Received: from debbugs.gnu.org ([208.118.235.43]:40992) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1fEX0U-00086U-Cb for guix-patches@gnu.org; Fri, 04 May 2018 05:28:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1fEX0U-0000XV-6W for guix-patches@gnu.org; Fri, 04 May 2018 05:28:02 -0400 Subject: [bug#31360] [PATCH 0/5] 'guix pack --relocatable' Resent-Message-ID: From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) References: <20180503201531.22213-1-ludo@gnu.org> Date: Fri, 04 May 2018 11:27:31 +0200 In-Reply-To: (David Thompson's message of "Thu, 3 May 2018 22:45:20 -0400") Message-ID: <87y3gzvkho.fsf@gnu.org> MIME-Version: 1.0 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: "Thompson, David" Cc: 31360@debbugs.gnu.org Hello! "Thompson, David" skribis: > On Thu, May 3, 2018 at 4:15 PM, Ludovic Court=C3=A8s 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 =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 everything= . That is, it creates a separate mount namespace but the only difference compared to the host is /gnu/store. Ludo=E2=80=99.