Hello. Attached file contains scripts for visualizing nix-store graphviz output. Unpack it in a separate subdir in your public_html (services.httpd.noUserDir = false supposed). Run build-system-dot.sh to create .dot files and .idx indexes (specifying full names in http requests would cause worries about different symbols in names). Check that fonts.extraFonts contains (pkgs.ghostscript + "/share/ghostscript/fonts/") . Navigate to the folder you created using browser. You'll have to enter graph file name (system-rt.dot for runtime dependencies or system-bt.dot for compiletime) and part of the store entry name you want (like clisp for common lisp). You'll be taken to graph view. There you will see graphviz image on top (it includes one-hop neighbourhood of selected entries), and lower you'll see links: you can add neighbours (left column), or unselect vertices (right column).
WARNING: there is a build-time package stdenv-linux. Its neighbourhood will hang you system (the image is a bit too large) - it was the reason I wrote the scripts in the first place. So you do not forget to specify version if you are really interested in linux kernel build-time dependencies. As usually, comments and suggestions are welcome.
graphviz-viewer.tar.bz2
Description: Binary data
_______________________________________________ nix-dev mailing list [email protected] https://mail.cs.uu.nl/mailman/listinfo/nix-dev
