[Nix-dev] Tracking down dependencies
georges.dubus at gmail.com
Thu Jan 29 10:56:32 CET 2015
The nox-update command (in the nox package) is an attempt to provide such
information. It present the dependency tree of the derivation that are
about to be installed by nixos-rebuild switch. You can see an example there
2015-01-29 10:49 GMT+01:00 Andreas Herrmann <andreash87 at gmx.ch>:
> On Wednesday 28 January 2015 13:23:08 Thomas Bereknyei wrote:
> > During a recent `nixos-rebuild switch --upgrade` I noticed gtk+ being
> > downloaded from cache. Is there a quick way to discover what is causing
> > that to be needed? [Rather than going through all of my configuration.nix
> > packages one-by-one?] This question is also generic, is there a way to do
> > this in general?
> You can use `nix-store -q --referrers /nix/store/<your-derivation>.drv` to
> list every derivation that depends on <your-derivation>.
> Best, Andreas
> nix-dev mailing list
> nix-dev at lists.science.uu.nl
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the nix-dev