From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?UTF-8?Q?G=C3=A1bor_Boskovits?= Subject: Re: List build dependencies of a store item Date: Wed, 23 Oct 2019 18:49:15 +0200 Message-ID: References: <61E5568F-D054-4080-A075-E21B534B1CA8@lepiller.eu> Mime-Version: 1.0 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:52686) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iNJpF-0002Uy-2d for help-guix@gnu.org; Wed, 23 Oct 2019 12:49:35 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iNJpD-00010K-A1 for help-guix@gnu.org; Wed, 23 Oct 2019 12:49:32 -0400 Received: from mail-ed1-x52b.google.com ([2a00:1450:4864:20::52b]:44494) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iNJpB-0000zr-Dg for help-guix@gnu.org; Wed, 23 Oct 2019 12:49:29 -0400 Received: by mail-ed1-x52b.google.com with SMTP id r16so16270591edq.11 for ; Wed, 23 Oct 2019 09:49:28 -0700 (PDT) In-Reply-To: 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: Arun Isaac Cc: help-guix Hello, Arun Isaac ezt =C3=ADrta (id=C5=91pont: 2019. = okt. 23., Sze, 18:43): > > > 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. > The script is here: https://lists.gnu.org/archive/html/guix-devel/2018-07/msg00212.html --=20 OpenPGP Key Fingerprint: 7988:3B9F:7D6A:4DBF:3719:0367:2506:A96C:CF63:0B21