[Nix-dev] Tracking down dependencies

Georges Dubus 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
: https://github.com/madjar/nox#experimental

Georges Dubus

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
> http://lists.science.uu.nl/mailman/listinfo/nix-dev
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150129/f4606312/attachment.html 


More information about the nix-dev mailing list