On Tue, 21 Jul 2015 10:41:19 +0200 Ricardo Wurmus <ricardo.wur...@mdc-berlin.de> wrote:
> +(define-public bioperl-minimal > + (let* ((inputs `(("perl-module-build" ,perl-module-build) > + ("perl-data-stag" ,perl-data-stag) > + ("perl-libwww" ,perl-libwww) > + ("perl-uri" ,perl-uri))) > + (transitive-inputs > + (map (compose package-name cadr) > + (delete-duplicates > + (concatenate > + (map (compose package-transitive-target-inputs > cadr) inputs)))))) I think what you're going for here is similar to the package-propagated-input-refs procedure that was added to (gnu packages version-control) recently. A patch I sent to the list earlier would move that procedure to (guix packages) so that it could be used elsewhere. It seems to be something that many other perl-using applications need (e.g. gnucash, clusterssh). `~Eric