graph: Allow store file names for 'derivation' and 'references' graphs.
authorLudovic Courtès <ludo@gnu.org>
Fri, 20 May 2016 15:07:23 +0000 (17:07 +0200)
committerLudovic Courtès <ludo@gnu.org>
Fri, 20 May 2016 23:35:14 +0000 (01:35 +0200)
commita773c3142dd168e1c4480614d3f5fd9d003954cd
treedaf8111a6b4a105fae5d226dad7774361d12f721
parent97507ebedc8e1265c2ed354e50a218fb9ee6087b
graph: Allow store file names for 'derivation' and 'references' graphs.

* guix/scripts/graph.scm (%derivation-node-type)[convert]: Add
'derivation-path?' and catch-all clauses.
(%reference-node-type)[convert]: Add 'store-path?' and catch-all
clauses.
(assert-package, nodes-from-package): New procedures.
(%package-node-type, %bag-node-type,%bag-with-origins-node-type)
(%bag-emerged-node-type): Add 'convert' field
(guix-graph): Rename 'packages' to 'items' and
allow 'store-path?' arguments.
* guix/graph.scm (<node-type>)[convert]: Adjust comment.
* doc/guix.texi (Invoking guix graph): Document it.
doc/guix.texi
guix/graph.scm
guix/scripts/graph.scm
tests/guix-graph.sh