all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Eric Bavier <ericbavier@openmailbox.org>
Cc: guix-devel@gnu.org, Eric Bavier <bavier@member.fsf.org>
Subject: Re: [PATCH 5/6] guix: Move package-transitive-propagated-labels* and package-propagated-input-refs to (guix packages).
Date: Wed, 09 Sep 2015 22:24:11 +0200	[thread overview]
Message-ID: <87lhcfqr2s.fsf@gnu.org> (raw)
In-Reply-To: <20150908033158.16a45fec@openmailbox.org> (Eric Bavier's message of "Tue, 8 Sep 2015 03:31:58 -0500")

Eric Bavier <ericbavier@openmailbox.org> skribis:

> I find myself needing this functionality while exploring configuration
> support in xmonad, so I am (finally) revisiting this patch.

Nice!

> 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.

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?).

Otherwise we should really push upstream to implement that
functionality.

> From c7932475b95f22f891169b7f315366e2602fb4f5 Mon Sep 17 00:00:00 2001
> From: Eric Bavier <bavier@member.fsf.org>
> 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-labels*)
>   (package-propagated-input-refs): Delete.
>   (git)[arguments]: Adjust to transitive-input-references.

It addresses previous comments and looks reasonable to me.

OK for ‘master’!

Thank you,
Ludo’.

  reply	other threads:[~2015-09-09 20:24 UTC|newest]

Thread overview: 21+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-07-10  0:38 [PATCH 1/6] gnu: Add perl-html-element-extended ericbavier
2015-07-10  0:38 ` [PATCH 2/6] gnu: Add perl-html-tableextract ericbavier
2015-07-10  8:08   ` Andreas Enge
2015-07-13 17:16   ` Ludovic Courtès
2015-07-10  0:38 ` [PATCH 3/6] gnu: Add perl-date-manip ericbavier
2015-07-10  8:09   ` Andreas Enge
2015-07-10 20:34     ` Ludovic Courtès
2015-07-22 13:39   ` Ludovic Courtès
2015-07-10  0:38 ` [PATCH 4/6] gnu: Add perl-finance-quote ericbavier
2015-07-22 13:41   ` Ludovic Courtès
2015-09-10  8:35     ` Eric Bavier
2015-07-10  0:38 ` [PATCH 5/6] guix: Move package-transitive-propagated-labels* and package-propagated-input-refs to (guix packages) ericbavier
2015-07-22  2:11   ` Eric Bavier
2015-07-22 13:20     ` Ludovic Courtès
2015-09-08  8:31       ` Eric Bavier
2015-09-09 20:24         ` Ludovic Courtès [this message]
2015-09-10  8:33           ` Eric Bavier
2015-07-10  0:38 ` [PATCH 6/6] gnu: gnucash: Add Finance::Quote support ericbavier
2015-07-22 13:42   ` Ludovic Courtès
2015-07-10  8:08 ` [PATCH 1/6] gnu: Add perl-html-element-extended Andreas Enge
2015-07-13 17:15 ` Ludovic Courtès

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=87lhcfqr2s.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=bavier@member.fsf.org \
    --cc=ericbavier@openmailbox.org \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.