From mboxrd@z Thu Jan 1 00:00:00 1970 From: zimoun Subject: bug#20255: (old)bug#20255: 'search-paths' should respect both user and system profiles Date: Fri, 21 Feb 2020 16:53:49 +0100 Message-ID: References: <877ftschjt.fsf@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:41936) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j5Adr-000595-0v for bug-guix@gnu.org; Fri, 21 Feb 2020 10:55:04 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j5Adp-0004NC-Vv for bug-guix@gnu.org; Fri, 21 Feb 2020 10:55:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:41888) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j5Adp-0004Mw-Rw for bug-guix@gnu.org; Fri, 21 Feb 2020 10:55:01 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1j5Adp-0006DS-QO for bug-guix@gnu.org; Fri, 21 Feb 2020 10:55:01 -0500 In-Reply-To: <877ftschjt.fsf@gmail.com> Sender: "Debbugs-submit" Resent-Message-ID: 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: 20255@debbugs.gnu.org Cc: iyzsong@gmail.com, Alex Kost 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: --8<---------------cut here---------------start------------->8--- + eval `/run/current-system/profile/bin/guix package \\ + -p /run/current-system/profile \\ + -p \"$HOME/.guix-profile\" --search-paths` --8<---------------cut here---------------end--------------->8--- 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. Well, is the issue still happening 4 years later? If yes, what should be the fix? What is the status quo? If no, let close the bug. Note that other patches are still pending [4] and [5] -- probably irrelevant now. All the best, simon [1] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20255 [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20255#41 [3] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20255#44 [4] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20255#8 [5] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=20255#26