GNU bug report logs -
#35318
[PATCH] Update cargo-build-system to expand package inputs
Previous Next
Reported by: Ivan Petkov <ivanppetkov <at> gmail.com>
Date: Fri, 19 Apr 2019 05:35:02 UTC
Severity: normal
Tags: patch
Done: Chris Marusich <cmmarusich <at> gmail.com>
Bug is archived. No further changes may be made.
Full log
Message #20 received at 35318 <at> debbugs.gnu.org (full text, mbox):
Hi Ludo,
> On May 6, 2019, at 1:00 AM, Ludovic Courtès <ludo <at> gnu.org> wrote:
>
> There’s nothing written in terms of “dependencies”; instead everything
> is written in terms of “inputs”, so I’d like to remain consistent here.
I admit, I wasn’t feeling very inspired with coming up with a name, but I wanted
to avoid confusing it with the existing package-transitive-inputs procedure.
> If we need something more specific, I’d rather see it as a private
> procedure in (guix build-system cargo-build-system).
I wanted to reuse the core traversal/memoization that was defined in the
original package-transitive-inputs procedure, but I can fork the implementation
as a private procedure in the cargo-build-system for now.
> I’m not sure I want to know the details :-), but it seems to be what
> ‘package-transitive-inputs’ does, no?
package-transitive-inputs captures all transitive propagated-inputs, but the
cargo-build-system needs all transitive propagated-inputs and regular inputs
as well (modeling cargo dependencies as propagated-inputs does not seem
appropriate).
Thanks,
—Ivan
This bug report was last modified 5 years and 340 days ago.
Previous Next
GNU bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd,
1994-97 Ian Jackson.