all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand
@ 2015-06-20 16:45 Amirouche Boubekki
  2015-06-20 17:07 ` Amirouche Boubekki
  0 siblings, 1 reply; 3+ messages in thread
From: Amirouche Boubekki @ 2015-06-20 16:45 UTC (permalink / raw)
  To: Guix Devel

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-06-24 20:18 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-06-20 16:45 [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand Amirouche Boubekki
2015-06-20 17:07 ` Amirouche Boubekki
2015-06-24 20:18   ` Ludovic Courtès

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.