guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand


From: Amirouche Boubekki
Subject: Re: [PATCH] guix: scripts: Add --dependencies=PACKAGE commmand
Date: Sat, 20 Jun 2015 19:07:55 +0200
User-agent: Roundcube Webmail/1.1.1

Sorry my patch was missing a file.

On 2015-06-20 18:45, Amirouche Boubekki wrote:
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

Attachment: 0001-guix-scripts-add-dependencies-PACKAGE-command.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]