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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user