LinuxCommandLibrary

nix3-why-depends

traces dependency relationships

TLDR

Show dependency path

$ nix3 why-depends nixpkgs#[package] nixpkgs#[dep]
copy
Show all paths
$ nix3 why-depends --all [pkg] [dep]
copy

SYNOPSIS

nix3 why-depends [options] package dependency

DESCRIPTION

nix3 why-depends traces dependency relationships. Shows why packages depend on others.
The tool debugs package closures. Helps reduce unnecessary dependencies.

PARAMETERS

PACKAGE

Package to analyze.
DEPENDENCY
Dependency to trace.
--all
Show all paths.
--help
Display help information.

CAVEATS

Alias for nix why-depends. Closure analysis. Evaluation required.

HISTORY

nix3 why-depends is part of Nix 3.x for debugging dependency graphs.

SEE ALSO

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community