guix-patches
[Top][All Lists]
Advanced

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

[bug#36351] [PATCH 04/10] graph: Use 'derivation-input-derivation'.


From: Ludovic Courtès
Subject: [bug#36351] [PATCH 04/10] graph: Use 'derivation-input-derivation'.
Date: Mon, 24 Jun 2019 14:22:06 +0200

* 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 8fe81ad64b..2e14857f1e 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))
       '()))
 
-- 
2.22.0






reply via email to

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