diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-09-02 15:23:52 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-09-02 23:40:07 +0200 |
commit | 4c8f997a7d6f4c9d7eae73804e9784b4562eb213 (patch) | |
tree | 57218881248955596a4092d4216bec1a7f43b130 /tests | |
parent | 4650a77ea8b3ada17f94a4a3b2004f172d0a1498 (diff) | |
download | gnu-guix-4c8f997a7d6f4c9d7eae73804e9784b4562eb213.tar gnu-guix-4c8f997a7d6f4c9d7eae73804e9784b4562eb213.tar.gz |
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.
Diffstat (limited to 'tests')
-rw-r--r-- | tests/guix-graph.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/tests/guix-graph.sh b/tests/guix-graph.sh index 199258a9b8..e0cbebb753 100644 --- a/tests/guix-graph.sh +++ b/tests/guix-graph.sh @@ -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 |