1
0
mirror of https://git.savannah.gnu.org/git/guix.git synced 2026-05-28 03:51:53 +02:00

graph: Add '--expression'.

* guix/scripts/graph.scm (%options, show-help): Add '--expression'.
  (guix-graph): Call 'read/eval-package-expression' for 'expression'
  pairs in OPTS.
* tests/guix-graph.sh: Add tests.
* doc/guix.texi (Invoking guix graph): Document it.
This commit is contained in:
Ludovic Courtès
2015-09-02 15:23:52 +02:00
parent 4650a77ea8
commit 4c8f997a7d
3 changed files with 27 additions and 5 deletions
+5
View File
@@ -32,3 +32,8 @@ done
guix build guile-bootstrap
guix graph -t references guile-bootstrap | grep guile-bootstrap
guix graph -e '(@ (gnu packages bootstrap) %bootstrap-guile)' \
| grep guile-bootstrap
if guix graph -e +; then false; else true; fi