From mboxrd@z Thu Jan 1 00:00:00 1970 From: ludo@gnu.org (Ludovic =?utf-8?Q?Court=C3=A8s?=) Subject: Re: User-profile search paths should include system-profile directories Date: Wed, 14 Sep 2016 16:58:42 +0200 Message-ID: <87eg4mo7dp.fsf@gnu.org> References: <7tpoo7kk73.fsf@gmail.com> 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]:44931) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bkBeF-0002dR-6s for guix-devel@gnu.org; Wed, 14 Sep 2016 10:58:52 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bkBeA-0006FA-Pa for guix-devel@gnu.org; Wed, 14 Sep 2016 10:58:50 -0400 In-Reply-To: <7tpoo7kk73.fsf@gmail.com> ("Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama"'s message of "Wed, 14 Sep 2016 09:35:28 +0200") List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: "Guix-devel" To: Carlos =?utf-8?Q?S=C3=A1nchez?= de La Lama Cc: guix-devel@gnu.org Hello, csanchezdll@gmail.com (Carlos S=C3=A1nchez de La Lama) skribis: > I have an interesting case here. I have guile installed in my system > profile, so that > > /var/guix/profiles/system/profile/share/aclocal/guile.m4 > > is there. However, autoconf is installed in my *user* profile, so > ACLOCAL_PATH is augmented in ~/.guix-profile/etc/profile to include > > ~/.guix-profile/share/aclocal > > But not the system-profile aclocal directory, which would be put into > ACLOCAL_PATH by /var/guix/profiles/system/profile/etc/profile if > autoconf was installed in the systme profile as well. > > Is this the intended behaviour? I am wondering whether packages with > search paths should include both the user-profile directories and the > system-profile ones. I think you=E2=80=99re right. This was discussed at , leading to a patch (for GuixSD). However, we failed to build consensus around the approach of this patch, so we did not apply it. If you have ideas, please email 20255@debbugs.gnu.org. :-) One of the fruits of this discussion, though, is that you can do: guix package -p /run/current-system/profile -p ~/.guix-profile --search-p= aths to get the combined search paths. Ludo=E2=80=99.