aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authorEelco Dolstra <edolstra@gmail.com>2017-09-10 22:36:59 +0200
committerEelco Dolstra <edolstra@gmail.com>2017-09-10 22:40:33 +0200
commitd41c5eb13f4f3a37d80dbc6d3888644170c3b44a (patch)
treee03076aa28be80dc327e2cb1ee0d5f139c74395b /README.md
parent8af704eef1ee9a73b8d120b863223c015189e943 (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 'README.md')
0 files changed, 0 insertions, 0 deletions