guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] packages: Expose transitive-inputs.


From: David Thompson
Subject: [PATCH 1/2] packages: Expose transitive-inputs.
Date: Wed, 18 Mar 2015 20:11:13 -0400
User-agent: Notmuch/0.18.2 (http://notmuchmail.org) Emacs/24.4.1 (x86_64-pc-linux-gnu)

>From 14bc819b7d999fd1b3806918987c0e1ab5db742b Mon Sep 17 00:00:00 2001
From: David Thompson <address@hidden>
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

[Prev in Thread] Current Thread [Next in Thread]