graph: Add "module" node type.
authorLudovic Courtès <ludo@gnu.org>
Tue, 27 Mar 2018 12:00:48 +0000 (14:00 +0200)
committerLudovic Courtès <ludo@gnu.org>
Tue, 27 Mar 2018 12:51:44 +0000 (14:51 +0200)
commitb06a70e05dc6252a3ecb28db5898de7ebc110973
tree08ed804b9f76857f02bd0b8ab1f34e13c9a0e026
parentde0021322d010871d2c144f01f9dc4efc5c231c4
graph: Add "module" node type.

* guix/scripts/graph.scm (module-from-package)
(source-module-dependencies*): New procedures.
(%module-node-type): New variable.
(%node-types): Add it.
* guix/modules.scm (source-module-dependencies): Export.
* tests/graph.scm ("module graph"): New test.
* doc/guix.texi (Invoking guix graph): Document it.
doc/guix.texi
guix/modules.scm
guix/scripts/graph.scm
tests/graph.scm