From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id zqA6DzrNFmBAaQAA0tVLHw (envelope-from ) for ; Sun, 31 Jan 2021 15:31:06 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id CPSjCjrNFmD8fwAA1q6Kng (envelope-from ) for ; Sun, 31 Jan 2021 15:31:06 +0000 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id BDB87940355 for ; Sun, 31 Jan 2021 15:31:05 +0000 (UTC) Received: from localhost ([::1]:59546 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6Egq-0007dI-Lx for larch@yhetil.org; Sun, 31 Jan 2021 10:31:04 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:58502) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l6EgV-0007Zw-2Z for help-guix@gnu.org; Sun, 31 Jan 2021 10:30:43 -0500 Received: from flashner.co.il ([178.62.234.194]:34106) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l6EgT-0006F1-4p for help-guix@gnu.org; Sun, 31 Jan 2021 10:30:42 -0500 Received: from localhost (unknown [31.210.181.184]) by flashner.co.il (Postfix) with ESMTPSA id 014124005F; Sun, 31 Jan 2021 15:30:38 +0000 (UTC) Date: Sun, 31 Jan 2021 17:30:06 +0200 From: Efraim Flashner To: Phil Subject: Re: Output all dependencies recursively for package Message-ID: References: <85zh0pdzyn.fsf@beadling.co.uk> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="56CH6ASUR/80CH9U" Content-Disposition: inline In-Reply-To: <85zh0pdzyn.fsf@beadling.co.uk> X-PGP-Key-ID: 0x41AAE7DCCA3D8351 X-PGP-Key: https://flashner.co.il/~efraim/efraim_flashner.asc X-PGP-Fingerprint: A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Received-SPF: pass client-ip=178.62.234.194; envelope-from=efraim@flashner.co.il; helo=flashner.co.il X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-guix@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: help-guix@gnu.org Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.96 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Migadu-Queue-Id: BDB87940355 X-Spam-Score: -3.96 X-Migadu-Scanner: scn0.migadu.com X-TUID: hj7abKPUoMRT --56CH6ASUR/80CH9U Content-Type: text/plain; charset=utf-8 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jan 31, 2021 at 12:59:40PM +0000, Phil wrote: > Hi all, >=20 > I'm looking for a command similar to 'guix show' which will give a packag= es explicit > dependencies, recursively. >=20 > Basically something like python's 'pip freeze' for a specific package. >=20 > 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. >=20 > I'm looking for a recursive list of all bar@version given package > foo? >=20 > Something like: > guix show --recursive-dependencies foo >=20 > Giving: > dependencies: bar@version, some-dependency-of-bar@version >=20 > 'guix show' would not list 'some-dependency-of-bar@version' in its > current form. >=20 >=20 > Any ideas? >=20 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 u= til-linux@2.35.1 fontconfig@2.13.1 tcl@8.6.10 xtrans@1.4.0 xcb-proto@1.14 l= ibunistring@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= =2E2.9 libffi@3.3 perl@5.30.2 openssl@1.1.1f python-minimal@3.8.2 python-mi= nimal-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-co= nfig@0.29.2 util-macros@1.19.2 xorgproto@2019.2 libxext@1.3.4 tk@8.6.10 pyt= hon@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 binut= ils@2.34 gcc@7.5.0 glibc@2.31 glibc-utf8-locales@2.31 --=20 Efraim Flashner =D7=90=D7=A4=D7=A8=D7=99=D7=9D = =D7=A4=D7=9C=D7=A9=D7=A0=D7=A8 GPG key =3D A28B F40C 3E55 1372 662D 14F7 41AA E7DC CA3D 8351 Confidentiality cannot be guaranteed on emails sent or received unencrypted --56CH6ASUR/80CH9U Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEoov0DD5VE3JmLRT3Qarn3Mo9g1EFAmAWzPsACgkQQarn3Mo9 g1ENMA/+OZ+rBJ/OUtZ7oJJ/a0Ovqy3D38qEr44Tih65QiaO/qGMNfU2iA6PYsnA w+QboM2uy2nr01+PHoXnSJY7ePlPXF7Mfdp9tf/azMvUomLiE2nsYRlnqZ5jHOLt neTiHm30Fi19/UQUohPhbxRuVyi6pJQo8H2A6OlH66f/FjSwctTjJEa2oF/9nmpd moldkNtZiW9zlxkLUydbNLkPL15cqdnLVjLcr0mmwVgxP5PIrU0SEPHnIFDy7SPX 9x9adJmB3iXfs1WrxUFeWy4i9bRSKygZkShq7t7CykrWjbUUAGS5qLC6w1PzQVHg 0ikhal6lcVGannB6uFxvFXZcie7ozh43E3UgXohAOfu5fzEwEGtMNR43XyO/9Cn6 XcmIhdEgN4oZaMwLfWKADcCwsOKIX/og5J715DTPr1M2Swj1ZuCr5gVmE+Oxu0La VvIbJofwpmYtnM0djDZTUFbiK31PaGM9nVsZqAgowCQlgHSfxY1ifrqYDxfzeYb2 DXRj1Tj+9l6p5LOLqCCBQFwNoKYaBvoAUEmwQCL6upGJAIyOXU/weOCE73l+1+4u E/lj9U7yKW4O7uTbMAOcregyjXAK3gQooTJ51mVGHZoczu0q0OfM48y84jBKUePy oFsrqR8TpTylZ5NsE2LsTasYGybeqP/r2PLtVrcYiDt+zhDheA8= =qDV8 -----END PGP SIGNATURE----- --56CH6ASUR/80CH9U--