From debbugs-submit-bounces@debbugs.gnu.org Fri Dec 18 15:35:52 2020 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 To: 20255@debbugs.gnu.org, Christopher Baines Subject: bug#20255: =?utf-8?B?wqt0aGUgT2xkZXN0wrs=?= [PATCH] 'search-paths' should respect both user and system profiles 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-Spam-Score: 0.0 (/) X-Debbugs-Envelope-To: 20255 Cc: iyzsong@gmail.com, Ludovic =?utf-8?Q?Court=C3=A8s?= , Alex Kost , Maxim Cournoyer , mhw@netris.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -1.0 (-) 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