[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH] guix: scripts: Add --dependencies=PACKAGE commmand
From: |
Amirouche Boubekki |
Subject: |
[PATCH] guix: scripts: Add --dependencies=PACKAGE commmand |
Date: |
Sat, 20 Jun 2015 18:45:44 +0200 |
User-agent: |
Roundcube Webmail/1.1.1 |
This is a first patch to request the interest and the feedback of the
community to have something like that in guix and how it should be done.
guix packacge --dependencies=PACKAGE
That will output the dot program required to generate a graph with
graphviz.
The full bash line can be:
guix package --dependencies=qsynth | dot -Tpng > qsynth-deps.png &&
icecat qsynth-deps.png
There is a *bug*: I am using `find-packages-by-name` which returns
several packages, but when the output is passed to graphviz only one of
the package is drawn.
There is also an "interactive" web output [1].
HTH,
[1] http://www.hyperdev.fr/_drafts/guix-dependencies-in-sigmajs/sigmajs/
--
Amirouche ~ amz3 ~ http://www.hyperdev.fr
- [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand,
Amirouche Boubekki <=