4 ms·
> No easy way to see dependencies without viewing the package derivation source code. nix-store -qR `which python` > No easy way to see "reverse" dependencies
by ghostwriter 4y ago
> No easy way to see dependencies without viewing the package derivation source code.
nix-store -qR `which python`
> No easy way to see "reverse" dependencies, period, as far as I am aware, short of basically grepping the entire nixpkgs repo, and even then you won't get a totally accurate answer.
nix-store -q --referrers `which python`
This and many other querying commands are explained in the Command Reference of Nix manual. Have you read it? [1]
[1] https://nixos.org/manual/nix/stable/command-ref/nix-store.html https://nixos.org/manual/nix/stable/command-ref/nix-store.ht...