1
0
Fork 0
mirror of https://github.com/NixOS/nix synced 2025-07-07 10:11:47 +02:00

Make nix why-depends quieter by default

Unless `--precise` is passed, make `nix why-depends` only show the
dependencies between the store paths, without introspecting them to
find the actual references.

This also makes it ~3x faster
This commit is contained in:
regnat 2022-01-19 14:15:45 +01:00
parent 2ad2678c0b
commit dd7c2e0695
4 changed files with 34 additions and 11 deletions

View file

@ -4,7 +4,7 @@
mkdir $out
echo $(cat $input1/foo)$(cat $input2/bar) > $out/foobar
ln -s $input2 $out/input-2
ln -s $input2 $out/reference-to-input-2
# Self-reference.
ln -s $out $out/self