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 WJVmOKBftV5/LgAA0tVLHw (envelope-from ) for ; Fri, 08 May 2020 13:33:20 +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 eMDbIq1ftV6fMQAA1q6Kng (envelope-from ) for ; Fri, 08 May 2020 13:33:33 +0000 Received: from lists.gnu.org (lists.gnu.org [IPv6:2001:470:142::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 DA292940FEF for ; Fri, 8 May 2020 13:33:30 +0000 (UTC) Received: from localhost ([::1]:35034 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jX387-0003Wc-6M for larch@yhetil.org; Fri, 08 May 2020 09:33:31 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:34780) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jX37z-0003WT-66 for help-guix@gnu.org; Fri, 08 May 2020 09:33:23 -0400 Received: from out1-smtp.messagingengine.com ([66.111.4.25]:57861) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jX37y-0001dU-5s for help-guix@gnu.org; Fri, 08 May 2020 09:33:22 -0400 Received: from compute4.internal (compute4.nyi.internal [10.202.2.44]) by mailout.nyi.internal (Postfix) with ESMTP id 500ED5C0221; Fri, 8 May 2020 09:33:20 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute4.internal (MEProxy); Fri, 08 May 2020 09:33:20 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.com; h= from:to:subject:in-reply-to:references:date:message-id :mime-version:content-type; s=fm2; bh=4yWldpXToBxvSqM4oF3cbqvvDh qZKR7EJkE0gr6XIIo=; b=z1MgaA9+iXn7MHBqoaEJx9Ds+2g7gtG/u/rD+9vB3t C1MOGoKaKzEfwIWqwqdLceLT76qU0f26+aDtbQrxRGUeckCpY+JUwtTafc6J4lNT VV35D4mh5kXI9+zJa15v0DieD6l5z324QGPTRHo0v1wI7biCba9Teb/RFkFrB+mL qrBB/nhE+mb6IgHg37r65f89vT47v+ut2oQynytHNhpTB9pq/EJB2HxZ3YyeZjN9 X+1Q7gY2eyqH6S4tNnX3LAPiu52mu2yfUd8x9TxBPbFVBu1k2Iz82DuhR6ZEqCl8 5mhyWQRXJJGU48hcFwSmiXfCDh4LM9K41H6KUeyQOx5w== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-type:date:from:in-reply-to :message-id:mime-version:references:subject:to:x-me-proxy :x-me-proxy:x-me-sender:x-me-sender:x-sasl-enc; s=fm2; bh=4yWldp XToBxvSqM4oF3cbqvvDhqZKR7EJkE0gr6XIIo=; b=WtV11LHUmEr5rgmMVfV7V0 iOquU79HCNgjwdd4hu+5Rhz28/mE7hq4e48AARKXKLzGQhNMY3P3Q3v4HbE9WJHg H3VbWbLXyE1AWEX5okI2Niv+wD5Qo0MHkW6DY0k7VI7RHw2/OWpvJZaTrG6yajJJ WX+ZEU4r81uhES1K+rubN/AkdJu1pRo2wO+BytYimk5AI7CouSgqOoS2IMcs0JGw HkRfnufCPe9Ng7Ko8herv13OBRojYAi1Kj8n8eP2g1yyesveoPzAyv1nA/QejZoi uUUYqEqjRKj/E9K8lSeHnc13O8relqsaLeTIQxrnSH/3ro9EyGtvJSDCQ3EkRtFg == X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduhedrkeefucetufdoteggodetrfdotffvucfrrh hofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgenuceurghi lhhouhhtmecufedttdenucenucfjughrpefhvffujghffgffkfggtgesghdtreertdertd enucfhrhhomhepofgrrhhiuhhsuceurghkkhgvuceomhgsrghkkhgvsehfrghsthhmrghi lhdrtghomheqnecuggftrfgrthhtvghrnheptddvgfegveegiedvffeujeeitdetvdektd dugffgtdegfeeitdeikeffudfgueffnecukfhppeekgedrvddtvddrieekrdejheenucev lhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehmsggrkhhkvg esfhgrshhtmhgrihhlrdgtohhm X-ME-Proxy: Received: from localhost (ti0006q161-2604.bb.online.no [84.202.68.75]) by mail.messagingengine.com (Postfix) with ESMTPA id D1405328005A; Fri, 8 May 2020 09:33:19 -0400 (EDT) From: Marius Bakke To: zimoun , help-guix Subject: Re: whishlist: guix build -d /gnu/store/hash-pkg-version? In-Reply-To: References: User-Agent: Notmuch/0.29.3 (https://notmuchmail.org) Emacs/26.3 (x86_64-pc-linux-gnu) Date: Fri, 08 May 2020 15:33:17 +0200 Message-ID: <87h7wq361u.fsf@devup.no> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=66.111.4.25; envelope-from=mbakke@fastmail.com; helo=out1-smtp.messagingengine.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/05/08 09:33:20 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] [fuzzy] X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001 autolearn=_AUTOLEARN 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: , Errors-To: help-guix-bounces+larch=yhetil.org@gnu.org Sender: "Help-Guix" X-Scanner: scn0 X-Spam-Score: -2.81 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.com header.s=fm2 header.b=z1MgaA9+; dkim=pass header.d=messagingengine.com header.s=fm2 header.b=WtV11LHU; dmarc=pass (policy=none) header.from=fastmail.com; spf=pass (aspmx1.migadu.com: domain of help-guix-bounces@gnu.org designates 2001:470:142::17 as permitted sender) smtp.mailfrom=help-guix-bounces@gnu.org X-Scan-Result: default: False [-2.81 / 13.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; GENERIC_REPUTATION(0.00)[-0.49891818704618]; DWL_DNSWL_FAIL(0.00)[2001:470:142::17:server fail,fastmail.com:server fail]; R_SPF_ALLOW(-0.20)[+ip6:2001:470:142::/48:c]; FREEMAIL_FROM(0.00)[fastmail.com]; IP_REPUTATION_HAM(0.00)[asn: 22989(0.10), country: US(-0.00), ip: 2001:470:142::17(-0.50)]; TO_DN_ALL(0.00)[]; MX_GOOD(-0.50)[cached: eggs.gnu.org]; RCPT_COUNT_TWO(0.00)[2]; DMARC_POLICY_ALLOW(-0.50)[fastmail.com,none]; DKIM_TRACE(0.00)[fastmail.com:+,messagingengine.com:+]; MAILLIST(-0.20)[mailman]; SIGNED_PGP(-2.00)[]; FREEMAIL_TO(0.00)[gmail.com,gnu.org]; RCVD_IN_DNSWL_FAIL(0.00)[2001:470:142::17:server fail]; RCVD_TLS_LAST(0.00)[]; MIME_TRACE(0.00)[0:+,1:+,2:~]; ASN(0.00)[asn:22989, ipnet:2001:470:142::/48, country:US]; SUBJECT_ENDS_QUESTION(1.00)[]; TAGGED_FROM(0.00)[larch=yhetil.org]; FROM_NEQ_ENVFROM(0.00)[mbakke@fastmail.com,help-guix-bounces@gnu.org]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[fastmail.com:s=fm2,messagingengine.com:s=fm2]; URIBL_BLOCKED(0.00)[messagingengine.com:dkim,fastmail.com:dkim]; FROM_HAS_DN(0.00)[]; FORGED_RECIPIENTS_MAILLIST(0.00)[]; TAGGED_RCPT(0.00)[]; MIME_GOOD(-0.20)[multipart/signed,text/plain]; HAS_LIST_UNSUB(-0.01)[]; RCVD_COUNT_SEVEN(0.00)[7]; FORGED_SENDER_MAILLIST(0.00)[] X-TUID: SjrTz8W8tgIv --=-=-= Content-Type: text/plain zimoun writes: > Dear, > > When debugging, I find really useful the command: "guix build -d package". > > Is it possible to do the same on the resulting '/gnu/store/'? > > For example, > > $ guix build hello > /gnu/store/kg9mirg6xbvzcp0a98v7326n1nvvwgsj-hello-2.10 > > $ guix build -d hello > /gnu/store/gknm68l0q893bpvyhcd4ccih1bmh0j87-hello-2.10.drv > > Well, I would like to do something like that? > > $ guix build -d /gnu/store/kg9mirg6xbvzcp0a98v7326n1nvvwgsj-hello-2.10 > /gnu/store/gknm68l0q893bpvyhcd4ccih1bmh0j87-hello-2.10.drv > > Does it make sense? That does make sense and is already supported with 'guix gc --derivers': $ guix gc --derivers /gnu/store/a462kby1q51ndvxdv3b6p0rsixxrgx1h-hello-2.10 /gnu/store/8s63hyw4f2ivf1zxkx65awlx5jackvbz-hello-2.10.drv :-) --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEu7At3yzq9qgNHeZDoqBt8qM6VPoFAl61X50ACgkQoqBt8qM6 VPoDswf9FuVtwirS2UVs5Vmvc1SCxMOGsFbim81haxk2hV4EE9CyqrquMrwZF8GB h0wa1dysu7J4oi7nrI7sXzPE9SqiaxhkHbfNWuPBzSpZRW79nNK82e0SmSJ/+rb7 65rz8xDXSLe8o77Omt6cT515Kd/XgxsUeb4nHYvKMDbsvjPLGQDLz7FtTjpZqW4z 34Up3Wa0pRMw/PudpPhwkpgXDS53OxK8KrQSpKIDi1S030CffLP6wBhW9JxMXkOc 97i9ejEifN19QgAS7VzSp/0eTWHYnF1VL5HbZ1s2YROXySCn0pZTFbNievKmlZPN jGhschhjBh66zja8ZVW4Gf1LCoLy2w== =hTVp -----END PGP SIGNATURE----- --=-=-=--