From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id UOqnLMoS3V8iTwAA0tVLHw (envelope-from ) for ; Fri, 18 Dec 2020 20:36:26 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id oOZ4KMoS3V+zIwAA1q6Kng (envelope-from ) for ; Fri, 18 Dec 2020 20:36:26 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 49F8C940483 for ; Fri, 18 Dec 2020 20:36:26 +0000 (UTC) Received: from localhost ([::1]:37196 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1kqMUB-0002D7-Ec for larch@yhetil.org; Fri, 18 Dec 2020 15:36:24 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:51694) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1kqMTq-0002Ck-Ju for bug-guix@gnu.org; Fri, 18 Dec 2020 15:36:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:56775) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1kqMTq-0004vt-CH for bug-guix@gnu.org; Fri, 18 Dec 2020 15:36:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1kqMTq-0005sI-86 for bug-guix@gnu.org; Fri, 18 Dec 2020 15:36:02 -0500 X-Loop: help-debbugs@gnu.org Subject: bug#20255: =?UTF-8?Q?=C2=ABthe_?= =?UTF-8?Q?Oldest=C2=BB?= [PATCH] 'search-paths' should respect both user and system profiles Resent-From: zimoun Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Fri, 18 Dec 2020 20:36:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 20255 X-GNU-PR-Package: guix X-GNU-PR-Keywords: patch To: 20255@debbugs.gnu.org, Christopher Baines Received: via spool by 20255-submit@debbugs.gnu.org id=B20255.160832375222566 (code B ref 20255); Fri, 18 Dec 2020 20:36:02 +0000 Received: (at 20255) by debbugs.gnu.org; 18 Dec 2020 20:35:52 +0000 Received: from localhost ([127.0.0.1]:40088 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqMTf-0005ru-V2 for submit@debbugs.gnu.org; Fri, 18 Dec 2020 15:35:52 -0500 Received: from mail-wr1-f51.google.com ([209.85.221.51]:43164) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1kqMTe-0005rg-6r for 20255@debbugs.gnu.org; Fri, 18 Dec 2020 15:35:50 -0500 Received: by mail-wr1-f51.google.com with SMTP id y17so3644387wrr.10 for <20255@debbugs.gnu.org>; Fri, 18 Dec 2020 12:35:50 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:references:date:in-reply-to:message-id :user-agent:mime-version:content-transfer-encoding; bh=uN3CTUkjl3mv5E4sKx5UfyiuQV5tCpqC7pI/ZDxg5Ww=; b=BdGzh7QhXBQ4bs24jMg4hj/h92k64olIWek34KYLqK9hMpFruksnaBVVD+GbIOgOm+ Ike+zIvn1SY8QMK3BvX8fOPbXZju4kWVgKUhAkLWspHJJhhctqsph9ILQ1OmhGLjhuM6 E1i4bM9oFsj2MPhK2GY/bz2Bn/ch2kFp0/oYAVM8f56UblmDj3nb3oazBkCsBt3j/N/c E5dn13XYxoAOS7B8dYMYQ/y686SfT9OihYRKdxzwREotCojoKxq9hrqDNgveVVc2BEmL aUVyhmCefCbA95uSXKd1++zrhnFRDm89CoqR3Y5Qrl2qZepTQXbHSbIFG3s7y1vR/vJO QH+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:references:date:in-reply-to :message-id:user-agent:mime-version:content-transfer-encoding; bh=uN3CTUkjl3mv5E4sKx5UfyiuQV5tCpqC7pI/ZDxg5Ww=; b=F9CDBzu2GDbxp5L0ZjPv0JupEK6CTNvJZg09v5btVAInRLe6GUM/JTAvhrpzsRf3FQ J8DqtKOPbuxym0T6PTbtVvHUZNzujBgZmrR8zY+4JCZOKf+dgTnin9I+7/AdSXGWD9zM T6Mt6qoGDvQ8YgD5prUKSM0QOG7qk3u4mjYDRqJXPvFiDHfCgNwtQc0fQApKTjXXIprp QqLv/BA0pk4emnUYW/EwIu6M9qs6tRVGNPgs6n0bas5JApMMGq+1pxcn3Pb2YoBKyM5L b8JZHsoIpV/BZchCFTVIS+cykaNCrXk5+/3NcGTGFvQdwNc78b5PMwkRjpeEF22O9fO8 WYvA== X-Gm-Message-State: AOAM533E4joi/KiS7yjASGsnG3q2X4zI/C2kAEsP+34BFepkkPGcAhBv RbOl6SlE1iNEn76Hnd+xdJM= X-Google-Smtp-Source: ABdhPJxl9JgRdecp5VI0273d3aoA87YSz357c7aCUvtRQKM8IX26WLDl7t2Le/2L2P4SLMMaS043pg== X-Received: by 2002:adf:97ce:: with SMTP id t14mr6316038wrb.368.1608323744235; Fri, 18 Dec 2020 12:35:44 -0800 (PST) Received: from lili ([2a01:e0a:59b:9120:65d2:2476:f637:db1e]) by smtp.gmail.com with ESMTPSA id c4sm16046857wrw.72.2020.12.18.12.35.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 18 Dec 2020 12:35:43 -0800 (PST) From: zimoun References: <877ftschjt.fsf@gmail.com> Date: Fri, 18 Dec 2020 21:27:52 +0100 In-Reply-To: (zimoun's message of "Fri, 21 Feb 2020 16:53:49 +0100") Message-ID: <86v9cyuaev.fsf_-_@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.1 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: iyzsong@gmail.com, Alex Kost , Maxim Cournoyer Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 0.28 Authentication-Results: aspmx1.migadu.com; dkim=fail (headers rsa verify failed) header.d=gmail.com header.s=20161025 header.b=BdGzh7Qh; dmarc=fail reason="SPF not aligned (relaxed)" header.from=gmail.com (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 49F8C940483 X-Spam-Score: 0.28 X-Migadu-Scanner: scn0.migadu.com X-TUID: m4CXiPeAABCT Hi, The bug#20255 [#] is the oldest patch, still there even if almost is done. Let enjoy this patch squash day on Dec. the 18th [0] to close it. ;-) Below the summary I wrote couple of months ago. And the Alex=E2=80=99s ans= wer: As for me, I am OK with any default setting as long as there is a w= ay to change it. I recall Ludovic proposed a patch that allowed to custo= mize "/etc/profile" and I was happy about it, but he changed his mind on= that patch so it was never committed. Let=E2=80=99s tackle it! :-) 0: All the best, simon #: On Fri, 21 Feb 2020 at 16:53, zimoun wrote: > 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. > > 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=3D20255 > [2] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20255#41 > [3] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20255#44 > [4] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20255#8 > [5] https://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D20255#26