Browse Source

graph: Use 'derivation-input-derivation'.

* guix/scripts/graph.scm (derivation-dependencies): Use
'derivation-input-derivation'.
gn-latest-20200428
Ludovic Courtès 2 years ago
parent
commit
a250061986
No known key found for this signature in database GPG Key ID: 90B11993D9AEBB5
  1. 3
      guix/scripts/graph.scm

3
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))
'()))

Loading…
Cancel
Save