LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

nix-why-depends

shows why a package depends on another

TLDR

Show dependency path
$ nix why-depends nixpkgs#[hello] nixpkgs#[glibc]
copy
Show all paths
$ nix why-depends --all nixpkgs#[package] nixpkgs#[dep]
copy
From derivation files
$ nix why-depends [/nix/store/...package] [/nix/store/...dep]
copy

SYNOPSIS

nix why-depends [options] package dependency

DESCRIPTION

nix why-depends shows why a package depends on another. Traces dependency paths.The tool debugs closures. Helps understand and reduce dependencies.

PARAMETERS

PACKAGE

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

CAVEATS

Part of Nix CLI. Requires evaluation. Closure analysis.

HISTORY

nix why-depends is part of the new Nix CLI for debugging dependency relationships.

SEE ALSO

nix(1), nix-store(1), nix-build(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid