* emacs/guix-main.scm: Use (guix scripts graph) module.
(graph-type-names): New procedure.
* emacs/guix-base.el (guix-graph-type-names): New function.
\f
;;; Receivable lists of packages, lint checkers, etc.
+(guix-memoized-defun guix-graph-type-names ()
+ "Return a list of names of available graph node types."
+ (guix-eval-read (guix-make-guile-expression 'graph-type-names)))
+
(guix-memoized-defun guix-lint-checker-names ()
"Return a list of names of available lint checkers."
(guix-eval-read (guix-make-guile-expression 'lint-checker-names)))
(guix licenses)
(guix utils)
(guix ui)
+ (guix scripts graph)
(guix scripts lint)
(guix scripts package)
(guix scripts pull)
\f
;;; Lists of packages, lint checkers, etc.
+(define (graph-type-names)
+ "Return a list of names of available graph node types."
+ (map node-type-name %node-types))
+
(define (lint-checker-names)
"Return a list of names of available lint checkers."
(map (lambda (checker)