From mboxrd@z Thu Jan 1 00:00:00 1970 From: Arun Isaac Subject: Re: List build dependencies of a store item Date: Wed, 23 Oct 2019 21:52:49 +0530 Message-ID: References: <61E5568F-D054-4080-A075-E21B534B1CA8@lepiller.eu> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:48472) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNJPx-0007Uo-BE for help-guix@gnu.org; Wed, 23 Oct 2019 12:23:27 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNJPv-0003sD-BJ for help-guix@gnu.org; Wed, 23 Oct 2019 12:23:24 -0400 Received: from mugam.systemreboot.net ([139.59.75.54]:58114) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1iNJPu-0003mv-1C for help-guix@gnu.org; Wed, 23 Oct 2019 12:23:23 -0400 In-Reply-To: <61E5568F-D054-4080-A075-E21B534B1CA8@lepiller.eu> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: Julien Lepiller , help-guix@gnu.org --=-=-= Content-Type: text/plain > I think a store item doesn't know where it comes from, so you can only > find its runtime references. That's a good point. I missed that. > If you have a package foo, you can find its build-time dependencies > with guix graph: > > guix graph foo Indeed, this is what I want but for a modified version of a package defined in a file. I realized I could do it with guix graph -e '(load "/path/to/file.scm")' However, it might be nicer to have something like guix graph -f /path/to/file.scm similar to guix build -f /path/to/file.scm > There's even a script that was shared here to show the path between > two nodes of a guix graph, but I can't find it anymore. Yes, I remember such a script too. It would be very useful to have. But, even I am unable to find it. If someone knows where to find that script, please share a link. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCAAdFiEEf3MDQ/Lwnzx3v3nTLiXui2GAK7MFAl2wflkACgkQLiXui2GA K7MIDAgAlI69ENNsTzQKCrCTnMFknED5bEWvvSdAO1+hINXvb4hCFkUmz6dxh19a oa4fiPFORrr+q9+oRqzXT4s5I6un5rJ61xK9iXwy+KVXTubzdn/DpVAbOjER7nZp NNvaaRFIM7gLg1XcS0BXyo8nLqNyxDxVSxAGqOJ65MvXqojI2HmxmIaH/eiQAQHg ZU7wTlOMIOXOayVsaAJcGFldabMrsMsIUtrR1EBVR8sn/GccYZmWYFbytovJQk0c Dz3TI0EROzDfGF4DbXjlV+AaYLbDQnqq6RUk/A1NzbC9uSGCYm4sVi0Q/Utegg0O l7h9Li4m0FJkGXKREV8NMmpOn63gJQ== =cHuq -----END PGP SIGNATURE----- --=-=-=--