From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gDF8BKi15F5BLwAA0tVLHw (envelope-from ) for ; Sat, 13 Jun 2020 11:16:56 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id kHsmAKi15F5aEAAAbx9fmQ (envelope-from ) for ; Sat, 13 Jun 2020 11:16:56 +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 89DB69404D9 for ; Sat, 13 Jun 2020 11:16:55 +0000 (UTC) Received: from localhost ([::1]:59876 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk49e-0001Uy-Am for larch@yhetil.org; Sat, 13 Jun 2020 07:16:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:58584) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jk49Q-0001Uh-72 for guix-devel@gnu.org; Sat, 13 Jun 2020 07:16:40 -0400 Received: from mira.cbaines.net ([212.71.252.8]:50120) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jk49O-0004b7-I7 for guix-devel@gnu.org; Sat, 13 Jun 2020 07:16:39 -0400 Received: from localhost (unknown [46.237.175.96]) by mira.cbaines.net (Postfix) with ESMTPSA id 441FF27BBE1; Sat, 13 Jun 2020 12:16:37 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id 7cfd3797; Sat, 13 Jun 2020 11:16:34 +0000 (UTC) References: User-agent: mu4e 1.2.0; emacs 26.3 From: Christopher Baines To: zimoun Subject: Re: (propagated) 'inputs' depends on 'outputs'? In-reply-to: Date: Sat, 13 Jun 2020 12:16:32 +0100 Message-ID: <87pna38bcf.fsf@cbaines.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" Received-SPF: pass client-ip=212.71.252.8; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/13 06:52:29 X-ACL-Warn: Detected OS = Linux 2.2.x-3.x [generic] 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, UNPARSEABLE_RELAY=0.001 autolearn=_AUTOLEARN X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: guix-devel@gnu.org Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Scanner: scn0 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-devel-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-devel-bounces@gnu.org X-Spam-Score: -2.11 X-TUID: TI/ChpI2yOC5 --=-=-= Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable zimoun writes: > My question is: is it possible to specify 'inputs' only for specific > 'outputs'? No, but only because the two concepts are not directly related. A derivation has inputs, an output doesn't, but it does have references. Take git as an example. =E2=86=92 guix build git /gnu/store/76f7iracvzjqwzxldcdr9055ia1vdgw7-git-2.26.2-credential-netrc /gnu/store/fmxq1pawy32zw0a0qb371a36lr58rwzf-git-2.26.2-gui /gnu/store/axbf1db65bk316c44csnf6bgkzb4ilvx-git-2.26.2 /gnu/store/826y3r09kjl0fg1c51xwrlxvjd4kb8ff-git-2.26.2-send-email /gnu/store/dw4c975zfnvabpzl0sg7n7fv8spdflv6-git-2.26.2-subtree /gnu/store/sz27ibw6f3icyvwjvhlvqjn2kp2x6mbp-git-2.26.2-svn =E2=86=92 guix gc --references /gnu/store/sz27ibw6f3icyvwjvhlvqjn2kp2x6mbp-= git-2.26.2-svn /gnu/store/0bnp4bh1cid0xb415n6h4iyl52cmwpgd-perl-term-readkey-2.38 /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2 /gnu/store/axbf1db65bk316c44csnf6bgkzb4ilvx-git-2.26.2 /gnu/store/fvhj74pghapbjvsvj27skvkra1by1965-bash-minimal-5.0.16 /gnu/store/sz27ibw6f3icyvwjvhlvqjn2kp2x6mbp-git-2.26.2-svn /gnu/store/wn07ns1i8pqjfz92xkbicm5azg5jx2lc-subversion-1.14.0 =E2=86=92 guix gc --references /gnu/store/axbf1db65bk316c44csnf6bgkzb4ilvx-= git-2.26.2 /gnu/store/01b4w3m6mp55y531kyi1g8shh722kwqm-gcc-7.5.0-lib /gnu/store/09a5iq080g9b641jyl363dr5jkkvnhcn-python-3.8.2 /gnu/store/85lvkhmvr3a75j6rl4y7xj67qdnb9ssr-perl-cgi-4.47 /gnu/store/8zvc5mvk0xm3ygrxsgpyy5ilxb5rzjry-perl-5.30.2 /gnu/store/axbf1db65bk316c44csnf6bgkzb4ilvx-git-2.26.2 /gnu/store/d48261l1a5xvyibj5vlnravwlkwcil8c-perl-html-parser-3.72 /gnu/store/fa6wj5bxkj5ll1d7292a70knmyl7a0cr-glibc-2.31 /gnu/store/fvhj74pghapbjvsvj27skvkra1by1965-bash-minimal-5.0.16 /gnu/store/hcxpkksmbql6s4al8yy2myr25kh4cic0-openssl-1.1.1g /gnu/store/imh5xxqw10dql4crlngbbjh4r24raf4j-expat-2.2.9 /gnu/store/qvahafxrr2mcl4anjxdkkprrvd4k0xjj-pcre2-10.34 /gnu/store/rykm237xkmq7rl1p0nwass01p090p88x-zlib-1.2.11 /gnu/store/wlz0dsvc00s59cbjlyb04v9rvxiprqsz-curl-7.69.1 Looking at different outputs, the references are different. If you're just using the "out" output, then you don't need subversion in your store, but if you're using the "svn" output, then you do, as that output references an output for subversion. The references for an output isn't something specified, but something decided by what references that output actually contains. Hope that helps, Chris --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQKTBAEBCgB9FiEEPonu50WOcg2XVOCyXiijOwuE9XcFAl7ktZBfFIAAAAAALgAo aXNzdWVyLWZwckBub3RhdGlvbnMub3BlbnBncC5maWZ0aGhvcnNlbWFuLm5ldDNF ODlFRUU3NDU4RTcyMEQ5NzU0RTBCMjVFMjhBMzNCMEI4NEY1NzcACgkQXiijOwuE 9XcEOxAAonHPF2k7haZobQ0o3ApffOvNjoF4DqwbKzUWKPFUj7co+K1WUP2GID2e Q/At5+GaNWQizSVkZK+vuAeF1mO3Ig98wCOH1rk61Q821EJRMkSpL49dODKq8ohY QT2uemv+5B6/NiwIGtOHcFEn6KdPc9fQzjpb4gUIU4HRWRplb9PTplPNSsKM3MS7 NLS4QUmmbUfvZGgd6DTCnPKPHMc4RcvKxitM/VYKA/qQppOHWp9vFjSDqHqTGC7R 4u5qik0MwBJaHwgcVqxojLqo8pHDcVpTDdLu1mucLlRHmINFV+aAB7KGRp/DXg+Z 3M8fjvZMl8UWhx5fps1r1EoW1LReQGfCZD7vnVS7Qwa413iV+cdbdH9zQl5E10VH BAVlD4r17sAKO6wx5zXHwDugRGhfPHvDY4ydeDsUhDC0RkpKNCQ+S4s4EGC4IvfD qEK0OZ024f955M8NPhLYBnJ7DYATKDwZGoyILBw6kgokkkNRlCXG6zzdym4tlsLN 14QukEw+demxUeVw8rIJ8vxOLYmRxi2xtWibktM6zn+5CxDC/WORBORh5EXrv/Zo Z0TisCsOmEc0AWoRBGORIjSRoCmgfkLTXly2udkAda277iboTxz0GwJlKFjHaX3P Odo4IIy3Sa6xnT7sae9siyBF/fSx/HcVVz/eQFEYPE1LQlcSWl4= =Ct07 -----END PGP SIGNATURE----- --=-=-=--