unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: Efraim Flashner <efraim@flashner.co.il>
To: Phil <phil@beadling.co.uk>
Cc: help-guix@gnu.org
Subject: Re: Output all dependencies recursively for package
Date: Sun, 31 Jan 2021 17:30:06 +0200	[thread overview]
Message-ID: <YBbM/nN+NbZnFdOr@3900XT> (raw)
In-Reply-To: <85zh0pdzyn.fsf@beadling.co.uk>

[-- Attachment #1: Type: text/plain, Size: 2169 bytes --]

On Sun, Jan 31, 2021 at 12:59:40PM +0000, Phil wrote:
> Hi all,
> 
> I'm looking for a command similar to 'guix show' which will give a packages explicit
> dependencies, recursively.
> 
> Basically something like python's 'pip freeze' for a specific package.
> 
> I know 'guix graph' can do this but the output is much more elaborate
> than I need, also 'guix export' could probably give a very verbose
> output.
> 
> I'm looking for a recursive list of all bar@version given package
> foo?
> 
> Something like:
> guix show --recursive-dependencies foo
> 
> Giving:
> dependencies: bar@version, some-dependency-of-bar@version
> 
> 'guix show' would not list 'some-dependency-of-bar@version' in its
> current form.
> 
> 
> Any ideas?
> 

sounds like one of the options from 'guix refresh' is what you're
looking for:

(ins)efraim@3900XT ~/workspace/guix$ guix refresh --list-transitive python-pip
python-pip@20.2.4 depends on the following 69 packages: gdbm@1.18.1 sqlite@3.31.1 libxrender@0.9.10 libxft@2.3.3 gperf@3.1 gzip@1.10 bzip2@1.0.8 unzip@6.0 font-dejavu@2.37 libpng@1.6.37 freetype@2.10.1 tar@1.32 net-base@5.3 util-linux@2.35.1 fontconfig@2.13.1 tcl@8.6.10 xtrans@1.4.0 xcb-proto@1.14 libunistring@0.9.10 gettext-minimal@0.20.1 libgpg-error@1.37 libgcrypt@1.8.5 libxml2@2.9.10 readline@8.0.4 ncurses@6.2 bash@5.0.16 tzdata@2019c expat@2.2.9 libffi@3.3 perl@5.30.2 openssl@1.1.1f python-minimal@3.8.2 python-minimal-wrapper@3.8.2 zlib@1.2.11 xz@5.2.4 libxslt@1.1.34 libpthread-stubs@0.4 libxau@1.0.9 libbsd@0.10.0 libxdmcp@1.1.3 libxcb@1.14 libx11@1.6.9 pkg-config@0.29.2 util-macros@1.19.2 xorgproto@2019.2 libxext@1.3.4 tk@8.6.10 python@3.8.2 python-wrapper@3.8.2 tar@1.32 gzip@1.10 bzip2@1.0.8 xz@5.2.4 file@5.38 diffutils@3.7 patch@2.7.6 findutils@4.7.0 gawk@5.0.1 sed@4.8 grep@3.4 coreutils@8.32 make@4.3 guile@3.0.2 bash-minimal@5.0.16 ld-wrapper@0 binutils@2.34 gcc@7.5.0 glibc@2.31 glibc-utf8-locales@2.31

-- 
Efraim Flashner   <efraim@flashner.co.il>   אפרים פלשנר
GPG key = A28B F40C 3E55 1372 662D  14F7 41AA E7DC CA3D 8351
Confidentiality cannot be guaranteed on emails sent or received unencrypted

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 833 bytes --]

  parent reply	other threads:[~2021-01-31 15:31 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-01-31 12:59 Output all dependencies recursively for package Phil
2021-01-31 15:03 ` Joshua Branson
2021-02-01  1:32   ` Tobias Geerinckx-Rice
2021-02-01  6:26     ` zimoun
2021-02-01 16:21       ` me--- via
2021-02-01 19:36       ` Phil
2021-01-31 15:30 ` Efraim Flashner [this message]
2021-01-31 19:09 ` zimoun

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

  List information: https://guix.gnu.org/

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

  git send-email \
    --in-reply-to=YBbM/nN+NbZnFdOr@3900XT \
    --to=efraim@flashner.co.il \
    --cc=help-guix@gnu.org \
    --cc=phil@beadling.co.uk \
    /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.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).