aboutsummaryrefslogtreecommitdiff
path: root/guix
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2019-06-23 09:38:23 +0200
committerLudovic Courtès <ludo@gnu.org>2019-06-27 11:14:41 +0200
commita25006198690dc263ce1b13de6733055c6d6eba4 (patch)
tree76177a3be4639d9c5665072e6ca8a187b6d6081e /guix
parent9844d0091ec533ee6de2d051ef12a077de98cf42 (diff)
downloadguix-a25006198690dc263ce1b13de6733055c6d6eba4.tar
guix-a25006198690dc263ce1b13de6733055c6d6eba4.tar.gz
graph: Use 'derivation-input-derivation'.
* guix/scripts/graph.scm (derivation-dependencies): Use 'derivation-input-derivation'.
Diffstat (limited to 'guix')
-rw-r--r--guix/scripts/graph.scm3
1 files changed, 1 insertions, 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))
'()))