From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Bavier Subject: Re: [PATCH 5/6] guix: Move package-transitive-propagated-labels* and package-propagated-input-refs to (guix packages). Date: Thu, 10 Sep 2015 03:33:04 -0500 Message-ID: <20150910033304.2bf076d5@openmailbox.org> References: <1436488689-4078-1-git-send-email-ericbavier@openmailbox.org> <1436488689-4078-5-git-send-email-ericbavier@openmailbox.org> <20150721211143.6edeaae7@openmailbox.org> <87io9cba7o.fsf@gnu.org> <20150908033158.16a45fec@openmailbox.org> <87lhcfqr2s.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:4830:134:3::10]:37384) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za1re-0002JD-Sf for guix-devel@gnu.org; Thu, 10 Sep 2015 09:26:11 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Za1ra-0001KX-DN for guix-devel@gnu.org; Thu, 10 Sep 2015 09:26:10 -0400 Received: from smtp25.openmailbox.org ([62.4.1.59]:33047) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Za1ra-0001Jp-5Q for guix-devel@gnu.org; Thu, 10 Sep 2015 09:26:06 -0400 In-Reply-To: <87lhcfqr2s.fsf@gnu.org> 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-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: Ludovic =?UTF-8?B?Q291cnTDqHM=?= Cc: guix-devel@gnu.org, Eric Bavier On Wed, 09 Sep 2015 22:24:11 +0200 ludo@gnu.org (Ludovic Court=C3=A8s) wrote: > Eric Bavier skribis: >=20 > > For Perl, my idea is to wrap each module somehow, so that perl gets the > > appropriate 'use lib "/gnu/store/..."' when it loads each module. > > Preferably the solution would also work with store deduplication. > > I've not yet confirmed this is even feasible, so anyone with more perl > > knowledge should chime in. > > > > Our haskell modules install files into a "package.conf.d" subdirectory, > > and these files actually keep references to all haskell modules that > > were configured in the environment when it was built. I'm baffled why > > GHC does not make use of this information for dependency resolution when > > it loads libraries. Perhaps we could hack our GHC to do so. >=20 > This sounds like retrofitting some RUNPATH-like functionality in > languages. This would be ideal, and we should use whatever already > exists if that does the job (which seems to be the case for Perl?). It exists for Perl to some degree, but 'use lib "/..."' rather than simple 'use lib' needs to be explicitely used by the module author, which is rarely done in practice.=20 >=20 > Otherwise we should really push upstream to implement that > functionality. >=20 > > From c7932475b95f22f891169b7f315366e2602fb4f5 Mon Sep 17 00:00:00 2001 > > From: Eric Bavier > > Date: Tue, 21 Jul 2015 20:45:54 -0500 > > Subject: [PATCH 5/6] guix: packages: Add transitive-input-references. > > > > * guix/packages.scm (transitive-input-references): New procedure. > > * gnu/packages/version-control.scm (package-transitive-propagated-label= s*) > > (package-propagated-input-refs): Delete. > > (git)[arguments]: Adjust to transitive-input-references. >=20 > It addresses previous comments and looks reasonable to me. >=20 > OK for =E2=80=98master=E2=80=99! Pushed. Thanks! `~Eric