>From 14bc819b7d999fd1b3806918987c0e1ab5db742b Mon Sep 17 00:00:00 2001
From: David Thompson <dthomps...@worcester.edu>
Date: Wed, 18 Mar 2015 19:53:22 -0400
Subject: [PATCH 1/2] packages: Expose transitive-inputs.

* guix/packages.scm (transitive-inputs): Add docstring.  Export.
---
 guix/packages.scm | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/guix/packages.scm b/guix/packages.scm
index ec0e79d..577148a 100644
--- a/guix/packages.scm
+++ b/guix/packages.scm
@@ -81,6 +81,7 @@
             package-location
             package-field-location
 
+            transitive-inputs
             package-direct-inputs
             package-transitive-inputs
             package-transitive-target-inputs
@@ -509,6 +510,8 @@ IMPORTED-MODULES specify modules to use/import for use by SNIPPET."
                                  #:guile-for-build guile-for-build)))
 
 (define (transitive-inputs inputs)
+  "Return the transitive inputs of each package in INPUTS---i.e., its direct
+inputs along with their propagated inputs, recursively.."
   (let loop ((inputs  inputs)
              (result '()))
     (match inputs
-- 
2.1.4

-- 
David Thompson
Web Developer - Free Software Foundation - http://fsf.org
GPG Key: 0FF1D807
Support the FSF: https://fsf.org/donate

Reply via email to