From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andy Wingo Subject: Re: Introducing =?utf-8?B?4oCYZ3VpeCBwYWNr4oCZ?= Date: Tue, 14 Mar 2017 15:00:44 +0100 Message-ID: <87efy0t0tv.fsf@igalia.com> References: <87d1dodcnb.fsf@gnu.org> <87k27tv5sp.fsf@igalia.com> <87r320m0u5.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39278) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1cnn17-0006W1-I6 for guix-devel@gnu.org; Tue, 14 Mar 2017 10:01:38 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1cnn11-0006Fv-KW for guix-devel@gnu.org; Tue, 14 Mar 2017 10:01:37 -0400 In-Reply-To: <87r320m0u5.fsf@gnu.org> ("Ludovic =?utf-8?Q?Court=C3=A8s=22'?= =?utf-8?Q?s?= message of "Tue, 14 Mar 2017 14:42:26 +0100") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: guix-devel Hey :) On Tue 14 Mar 2017 14:42, ludo@gnu.org (Ludovic Court=C3=A8s) writes: > If we remove /var/guix/profiles, users will have to actually type > /gnu/store/asasdfadfgsadfa-profile/bin/guile. This is not great, but I > don=E2=80=99t know what else could be done. We could profile a > /bin/guile =E2=86=92 /gnu/store/asasdfadfgsadfa-profile/bin/guile symlink= , but > perhaps that=E2=80=99s risky too. As we were discussing in the channel, maybe it's OK for these binary installs to claim "/opt/gnu". Then we expose the profile in /opt/gnu, so you would run Guile as /opt/gnu/bin/guile. Additionally you could actually build against that Guile, which would be pretty neat. If the user untars multiple guix packs, /gnu/store easily absorbs the union, and /opt/gnu will adjoin any new profile directories/files and replace any overwritten links. We would have to make sure the union directory in /opt/gnu has all real directories and only symlink files, as per the recent patch on guix-devel. Andy