From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: [PATCH 1/2] packages: Expose transitive-inputs. Date: Wed, 18 Mar 2015 20:11:13 -0400 Message-ID: <87oanpzw0u.fsf@fsf.org> References: <87r3slzw5i.fsf@fsf.org> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="=-=-=" Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:48272) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYO3U-0008Ve-Nj for guix-devel@gnu.org; Wed, 18 Mar 2015 20:11:21 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1YYO3T-0004KE-Mh for guix-devel@gnu.org; Wed, 18 Mar 2015 20:11:20 -0400 Received: from mail.fsf.org ([208.118.235.13]:33649) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1YYO3T-0004K6-Ij for guix-devel@gnu.org; Wed, 18 Mar 2015 20:11:19 -0400 Received: from 209-6-40-86.c3-0.smr-ubr1.sbo-smr.ma.cable.rcn.com ([209.6.40.86]:53509 helo=izanagi) by mail.fsf.org with esmtpsa (TLS-1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.69) (envelope-from ) id 1YYO3T-0000tJ-BI for guix-devel@gnu.org; Wed, 18 Mar 2015 20:11:19 -0400 In-Reply-To: <87r3slzw5i.fsf@fsf.org> List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org --=-=-= Content-Type: text/x-diff Content-Disposition: inline; filename=0001-packages-Expose-transitive-inputs.patch >From 14bc819b7d999fd1b3806918987c0e1ab5db742b Mon Sep 17 00:00:00 2001 From: David Thompson 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 --=-=-= Content-Type: text/plain -- David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate --=-=-=--