nix-why-depends
Show why a package depends on another package. tldr-pages
On several platforms
Several platforms
Show why the currently running NixOS system requires a certain store path
nix why-depends /run/current-system /nix/store/checksum-package-version.extIdentifyShow why a package from nixpkgs requires another package as a build-time dependency
nix why-depends --derivation nixpkgs#dependent nixpkgs#dependencyIdentify