summaryrefslogtreecommitdiff
path: root/guix/modules.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-03-27 14:00:48 +0200
committerLudovic Courtès <ludo@gnu.org>2018-03-27 14:51:44 +0200
commitb06a70e05dc6252a3ecb28db5898de7ebc110973 (patch)
tree08ed804b9f76857f02bd0b8ab1f34e13c9a0e026 /guix/modules.scm
parentde0021322d010871d2c144f01f9dc4efc5c231c4 (diff)
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.
Diffstat (limited to 'guix/modules.scm')
-rw-r--r--guix/modules.scm3
1 files changed, 2 insertions, 1 deletions
diff --git a/guix/modules.scm b/guix/modules.scm
index 6c602eda48..bf656bb241 100644
--- a/guix/modules.scm
+++ b/guix/modules.scm
@@ -1,5 +1,5 @@
;;; GNU Guix --- Functional package management for GNU
-;;; Copyright © 2016, 2017 Ludovic Courtès <ludo@gnu.org>
+;;; Copyright © 2016, 2017, 2018 Ludovic Courtès <ludo@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -29,6 +29,7 @@
file-name->module-name
module-name->file-name
+ source-module-dependencies
source-module-closure
live-module-closure
guix-module-name?))