diff options
author | Eelco Dolstra <edolstra@gmail.com> | 2017-09-10T20·36+0200 |
---|---|---|
committer | Eelco Dolstra <edolstra@gmail.com> | 2017-09-10T20·40+0200 |
commit | d41c5eb13f4f3a37d80dbc6d3888644170c3b44a (patch) | |
tree | e03076aa28be80dc327e2cb1ee0d5f139c74395b /misc | |
parent | 8af704eef1ee9a73b8d120b863223c015189e943 (diff) |
Add command "nix why-depends"
This command shows why a package has another package in its runtime closure. For example, to see why VLC has libdrm.dev in its closure: $ nix why-depends nixpkgs.vlc nixpkgs.libdrm.dev /nix/store/g901z9pcj0n5yy5n6ykxk3qm4ina1d6z-vlc-2.2.5.1: lib/libvlccore.so.8.0.0: …nfig:/nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d… /nix/store/s3nm7kd8hlcg0facn2q1ff2n7wrwdi2l-mesa-noglu-17.0.7-dev: nix-support/propagated-native-build-inputs: …-dev /nix/store/405lmx6jl8lp0ad1vrr6j498chrqhz8g-libdrm-2.4.75-d… Thus, VLC's lib/libvlccore.so.8.0.0 as well as mesa-noglu's nix-support/propagated-native-build-inputs cause the dependency.
Diffstat (limited to 'misc')
0 files changed, 0 insertions, 0 deletions