@hackage nix-tree0.1.1.0

Interactively browse a Nix store paths dependencies

nix-tree

Build Status Packaging status

Interactively browse the dependency graph of your Nix derivations.

asciicast

Installation

From nixpkgs-unstable:

nix-env -iA nix-tree -f https://github.com/nixos/nixpkgs/archive/nixpkgs-unstable.tar.gz

Development version:

nix-env -iA nix-tree -f https://github.com/utdemir/nix-tree/archive/master.tar.gz

A nixpkgs overlay is also provided via overlay.nix, that can be used with tools like home-manager:

nixpkgs.overlays = [
  (let url = https://github.com/utdemir/nix-tree/archive/master.tar.gz;
    in import "${builtins.fetchTarball url}/overlay.nix" {})
];

home.packages = [ pkgs.nix-tree ];

Usage

$ nix-tree --help
nix-tree --help
Usage: nix-tree [paths] [-h|--help]
  Paths default to $HOME/.nix-profile and /var/run/current-system.
Keybindings:
  hjkl/Arrow Keys : Navigate
  q/Esc:          : Quit / close modal
  w               : Open why-depends mode
  /               : Open search mode
  i               : Toggle modeline
  ?               : Show help

Related tools