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

Reply via email to