From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?UTF-8?Q?Court=C3=A8s?=) Subject: bug#20255: 'search-paths' should respect both user and system profile. Date: Thu, 12 Nov 2015 12:13:51 +0100 Message-ID: <87y4e3zd00.fsf@gnu.org> References: <877ftschjt.fsf@gmail.com> <87fv8fip01.fsf@gnu.org> <87d23j1bxk.fsf@gmail.com> <87lhh43tn0.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]:55802) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwpqL-0007ks-Pe for bug-guix@gnu.org; Thu, 12 Nov 2015 06:15:06 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZwpqI-0000CX-KE for bug-guix@gnu.org; Thu, 12 Nov 2015 06:15:05 -0500 Received: from debbugs.gnu.org ([208.118.235.43]:43375) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZwpqI-0000CO-H3 for bug-guix@gnu.org; Thu, 12 Nov 2015 06:15:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.80) (envelope-from ) id 1ZwpqH-0003S1-V9 for bug-guix@gnu.org; Thu, 12 Nov 2015 06:15:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87lhh43tn0.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Mon, 04 May 2015 23:44:19 +0200") List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org Sender: bug-guix-bounces+gcggb-bug-guix=m.gmane.org@gnu.org To: =?UTF-8?Q?=E5=AE=8B=E6=96=87=E6=AD=A6?= Cc: 20255@debbugs.gnu.org Some progress has been made: fc2d233 allows search paths for multiple profiles to be combined. So I think I will eventually (=E2=80=98guix-devel=E2=80=99 needs to be upda= ted first) change /etc/profile to do: eval `guix package -p /run/current-system/profile \ -p $HOME/.guix-profile --search-paths` That should solve the combined profile issue. This operation takes ~400ms on my machine. This would be a problem if we had to do it every time a shell is started, but here we only need to do it for log-in shells, which is rare enough. WDYT? Thanks, Ludo=E2=80=99.