all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Julien Lepiller <julien@lepiller.eu>
To: help-guix@gnu.org, Arun Isaac <arunisaac@systemreboot.net>
Subject: Re: List build dependencies of a store item
Date: Wed, 23 Oct 2019 08:31:43 +0200	[thread overview]
Message-ID: <61E5568F-D054-4080-A075-E21B534B1CA8@lepiller.eu> (raw)
In-Reply-To: <cu74l0081qm.fsf@systemreboot.net>

Le 23 octobre 2019 07:33:37 GMT+02:00, Arun Isaac <arunisaac@systemreboot.net> a écrit :
>
>I am customizing the git-minimal package, and for some reason python is
>getting rebuilt from source, and I'm not able to figure out why.
>
>I can recursively list/graph runtime dependencies (references) of a
>store item using the following commands.
>
>guix size /gnu/store/...
>guix graph -t references /gnu/store/...
>
>How do I list the build dependencies (inputs of the build derivation)
>of
>a store item?
>
>Thanks,
>Arun.

I think a store item doesn't know where it comes from, so you can only find its runtime references. If you have a package foo, you can find its build-time dependencies with guix graph:

guix graph foo

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.

  reply	other threads:[~2019-10-23  6:31 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-23  5:33 List build dependencies of a store item Arun Isaac
2019-10-23  6:31 ` Julien Lepiller [this message]
2019-10-23 16:22   ` Arun Isaac
2019-10-23 16:49     ` Gábor Boskovits
2019-10-23 20:19       ` Arun Isaac
2019-10-23  8:04 ` Efraim Flashner
2019-10-23 16:27   ` Arun Isaac

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=61E5568F-D054-4080-A075-E21B534B1CA8@lepiller.eu \
    --to=julien@lepiller.eu \
    --cc=arunisaac@systemreboot.net \
    --cc=help-guix@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/guix.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.