all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: David Thompson <dthompson2@worcester.edu>
To: guix-devel@gnu.org
Subject: [PATCH 1/2] packages: Expose transitive-inputs.
Date: Wed, 18 Mar 2015 20:11:13 -0400	[thread overview]
Message-ID: <87oanpzw0u.fsf@fsf.org> (raw)
In-Reply-To: <87r3slzw5i.fsf@fsf.org>

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: 0001-packages-Expose-transitive-inputs.patch --]
[-- Type: text/x-diff, Size: 1134 bytes --]

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


[-- Attachment #2: Type: text/plain, Size: 136 bytes --]


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

  reply	other threads:[~2015-03-19  0:11 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19  0:08 [PATCH 0/2] environment: Add --inclusive option David Thompson
2015-03-19  0:11 ` David Thompson [this message]
2015-03-19 10:34   ` [PATCH 1/2] packages: Expose transitive-inputs David Thompson
2015-03-19  0:11 ` [PATCH 2/2] environment: Add --inclusive option David Thompson
2015-03-20  0:55   ` David Thompson
2015-03-20 19:20   ` 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=87oanpzw0u.fsf@fsf.org \
    --to=dthompson2@worcester.edu \
    --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.