From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Subject: bug#22138: Search paths of dependencies are not honored Date: Sat, 24 Aug 2019 15:52:46 +0200 Message-ID: <87pnkuwtzl.fsf@gnu.org> References: <87bn9yk5mf.fsf@gnu.org> <20190801221206.17965136@sybil.lepiller.eu> <87ftmfa8cp.fsf@netris.org> <87d0gw54fz.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:47745) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1i1WTX-0004fg-3x for bug-guix@gnu.org; Sat, 24 Aug 2019 09:53:03 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1i1WTW-0002tU-74 for bug-guix@gnu.org; Sat, 24 Aug 2019 09:53:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:32903) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1i1WTW-0002tQ-46 for bug-guix@gnu.org; Sat, 24 Aug 2019 09:53:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1i1WTW-0003Ss-1M for bug-guix@gnu.org; Sat, 24 Aug 2019 09:53:02 -0400 Sender: "Debbugs-submit" Resent-Message-ID: In-Reply-To: <87d0gw54fz.fsf@gnu.org> ("Ludovic \=\?utf-8\?Q\?Court\=C3\=A8s\=22'\?\= \=\?utf-8\?Q\?s\?\= message of "Fri, 23 Aug 2019 16:42:08 +0200") 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.org@gnu.org Sender: "bug-Guix" To: Mark H Weaver Cc: 22138@debbugs.gnu.org Ludovic Court=C3=A8s skribis: > The attached procedure computes the search paths of a package based on > its run-time dependencies. =E2=80=98profile-derivation=E2=80=99 could us= e this to > compute its =E2=80=98etc/profile=E2=80=99 file and its =E2=80=98manifest= =E2=80=99 file. One difficulty with this approach is that search paths are currently a =E2=80=9Chost-side=E2=80=9D feature: there=E2=80=99s a =E2=80=98search-path= s=E2=80=99 field in , which is populated before the profile is actually built. What I suggest above would mean turning search paths into a =E2=80=9Cbuild-= side=E2=80=9D feature, which has some implications. Needs more thought=E2=80=A6 Ludo=E2=80=99.