From mboxrd@z Thu Jan 1 00:00:00 1970 From: Alex Kost Subject: bug#20255: (old)bug#20255: 'search-paths' should respect both user and system profiles Date: Fri, 21 Feb 2020 20:18:52 +0300 Message-ID: <87eeun97ur.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:36389) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5Bx9-00038N-Lu for bug-guix@gnu.org; Fri, 21 Feb 2020 12:19:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5Bx8-0002au-PV for bug-guix@gnu.org; Fri, 21 Feb 2020 12:19:03 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:42037) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5Bx8-0002aq-MJ for bug-guix@gnu.org; Fri, 21 Feb 2020 12:19:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5Bx8-00023s-Bt for bug-guix@gnu.org; Fri, 21 Feb 2020 12:19:02 -0500 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: (zimoun's message of "Fri, 21 Feb 2020 16:53:49 +0100") 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-mx.org@gnu.org Sender: "bug-Guix" To: zimoun Cc: iyzsong@gmail.com, 20255@debbugs.gnu.org zimoun (2020-02-21 16:53 +0100) wrote: > Dear, > > What is the status of the bug#20255 [1]? > It is old; the last activity seems back on 2015, November. So let resume. > > The issue is, e.g.: > - perl installed into the system profile > - perl-xml-parser installed into an user profile > Then "guix package --search-paths" does not set correctly XML::Parser. > > > Fixes had been pushed: dedb17a and b2a7223 and cc3de1d. > > The final fix is still missing. Because it is a controversial patch > [2] :-) i.e., running 'guix' in '/etc/profile'; see these lines of the > patch: > > + eval `/run/current-system/profile/bin/guix package \\ > + -p /run/current-system/profile \\ > + -p \"$HOME/.guix-profile\" --search-paths` > > > The friendly "protest" [3] is about turning these lines optional via > an environment variable. I am not sure to follow where the discussion > had been going then. As for me, I am OK with any default setting as long as there is a way to change it. I recall Ludovic proposed a patch that allowed to customize "/etc/profile" and I was happy about it, but he changed his mind on that patch so it was never committed. -- Alex