guix-commits
[Top][All Lists]
Advanced

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

08/15: graph: Use 'derivation-input-derivation'.


From: guix-commits
Subject: 08/15: graph: Use 'derivation-input-derivation'.
Date: Thu, 27 Jun 2019 05:15:45 -0400 (EDT)

civodul pushed a commit to branch master
in repository guix.

commit a25006198690dc263ce1b13de6733055c6d6eba4
Author: Ludovic Court├Ęs <address@hidden>
Date:   Sun Jun 23 09:38:23 2019 +0200

    graph: Use 'derivation-input-derivation'.
    
    * guix/scripts/graph.scm (derivation-dependencies): Use
    'derivation-input-derivation'.
---
 guix/scripts/graph.scm | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)

diff --git a/guix/scripts/graph.scm b/guix/scripts/graph.scm
index 8fe81ad..2e14857 100644
--- a/guix/scripts/graph.scm
+++ b/guix/scripts/graph.scm
@@ -254,8 +254,7 @@ GNU-BUILD-SYSTEM have zero dependencies."
   "Return the <derivation> objects and store items corresponding to the
 dependencies of OBJ, a <derivation> or store item."
   (if (derivation? obj)
-      (append (map (compose read-derivation-from-file derivation-input-path)
-                   (derivation-inputs obj))
+      (append (map derivation-input-derivation (derivation-inputs obj))
               (derivation-sources obj))
       '()))
 



reply via email to

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