[Nix-dev] How to check which package pulls in (for example) yesod?

Vladimír Čunát vcunat at gmail.com
Wed Nov 4 07:38:52 CET 2015


On 11/03/2015 10:09 PM, Matthias Beyer wrote:
> So I guess something depends on yesod in my systemPackages
> somehow.
> 
> How to find out what?

$ nix-store -q --referrers /nix/store/xxx-yesod
Shows everything that references it (not necessarily from your
systemPackages). To inspect more precisely the dependencies in your
system closure, it's better to look at the output of
$ nix-store -q --graph /run/current-system


Vladimir


-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 3771 bytes
Desc: S/MIME Cryptographic Signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20151104/07b0ac43/attachment-0001.bin 


More information about the nix-dev mailing list