Skip to content

rydnr/nix-flake-to-graphviz

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

45 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

nix-flake-to-graphviz

A simple tool to create dot files to represent the dependency graph of a given Nix flake.

How to run it

nix run github:rydnr/nix-flake-to-graphviz?dir=nix

Usage

nix run github:rydnr/nix-flake-to-graphviz?dir=nix -- [-h|--help] [-f|--flake-folder folder] [-o|--output-file file]
  • -h|--help: Prints the usage.
  • -f|--flake-folder: The folder with the Nix flake to analyze.
  • -o|--output-file: The output file.

Create an image

dot -Tpng [generated-file] > [image-file].png

About

A simple tool to create dot files to represent the dependency graph of a given Nix flake

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors