From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id gC2rHz7n6F7CawAA0tVLHw (envelope-from ) for ; Tue, 16 Jun 2020 15:37:34 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id kDOKGz7n6F7GQwAAB5/wlQ (envelope-from ) for ; Tue, 16 Jun 2020 15:37:34 +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 E8F29940B06 for ; Tue, 16 Jun 2020 15:37:33 +0000 (UTC) Received: from localhost ([::1]:54574 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1jlDeW-0005eI-Nf for larch@yhetil.org; Tue, 16 Jun 2020 11:37:32 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:47296) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1jlDcF-0003V8-5X for guix-devel@gnu.org; Tue, 16 Jun 2020 11:35:12 -0400 Received: from sender4-of-o53.zoho.com ([136.143.188.53]:21354) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.90_1) (envelope-from ) id 1jlDc9-0006VH-6a for guix-devel@gnu.org; Tue, 16 Jun 2020 11:35:10 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1592321702; cv=none; d=zohomail.com; s=zohoarc; b=eqanNKVSzUfFXNvBWmj+/QiFEvhbDKL0x24JAG/xwmEveuvf2exVMfit80Iq5aUevIX/WbHor3XMXmQD2ntxs2uelJW+Fc4QsUYtiTNCP8DQGXpFmRwEfy0TO5KJrwpx4kLErmX/PnBSp1aZrLTJI4oJKUXNhrJOFlmRtBEBfsw= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1592321702; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=x0xTdguPZTTMK3WOgE5wnVWr3l7Qxph41kBSYraPu60=; b=NPLSzr5CRNjrOylFYbmFaDDE7ACp3DIa3QUAPt32XF3gnnybagSJKJnqwMihTxRfIRKk6TuALcSdg6yCWYPXRsI8p75CUqBhXKmDyI1BEbhJQ2jz1vOR9cwgXoxfyUA+Ea1PN2lVYT1CkyCBSjQys6eK9mbuNJpPbwkwA56p4ro= ARC-Authentication-Results: i=1; mx.zohomail.com; dkim=pass header.i=elephly.net; spf=pass smtp.mailfrom=rekado@elephly.net; dmarc=pass header.from= header.from= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1592321702; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:To:Cc:Subject:In-reply-to:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding; bh=x0xTdguPZTTMK3WOgE5wnVWr3l7Qxph41kBSYraPu60=; b=MveUGrpIR/t68VItmCJB1HM/oJ285nZEJbm0WYrFd0j7H4p8pc5BH4vJB57gsw1P LYWkIprqlILfbZm4Hm2kW1QBTb9Aj2cSyu6LaRSIuuHZ/AXFFXUeNFdmgCKRUjdRPBY b1shuDirafaVcEE+d+4rVHqj2+UXFi6/PP3SxWR4= Received: from localhost (p54ad4b58.dip0.t-ipconnect.de [84.173.75.88]) by mx.zohomail.com with SMTPS id 1592321699374818.0140736915517; Tue, 16 Jun 2020 08:34:59 -0700 (PDT) References: <87pna38bcf.fsf@cbaines.net> <86366vry2s.fsf@gmail.com> User-agent: mu4e 1.4.10; emacs 26.3 From: Ricardo Wurmus To: zimoun Subject: Re: (propagated) 'inputs' depends on 'outputs'? In-reply-to: <86366vry2s.fsf@gmail.com> X-URL: https://elephly.net X-PGP-Key: https://elephly.net/rekado.pubkey X-PGP-Fingerprint: BCA6 89B6 3655 3801 C3C6 2150 197A 5888 235F ACAC Date: Tue, 16 Jun 2020 17:34:56 +0200 Message-ID: <87a713uiqn.fsf@elephly.net> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-ZohoMailClient: External Received-SPF: pass client-ip=136.143.188.53; envelope-from=rekado@elephly.net; helo=sender4-of-o53.zoho.com X-detected-operating-system: by eggs.gnu.org: First seen = 2020/06/16 10:15:56 X-ACL-Warn: Detected OS = Linux 3.11 and newer [fuzzy] X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H4=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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=fail (rsa verify failed) header.d=elephly.net header.s=zoho header.b=MveUGrpI; 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.99 X-TUID: LNAtaGM/DUQI zimoun writes: > On Sat, 13 Jun 2020 at 12:16, Christopher Baines wrote: > >> 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. > > I understand. > > Back to the Git's example, there is still something I miss: I cannot > build Git from source (e.g. no substitutes) using "guix build git" > without downloading -- and possibly building too -- all the Subversion > stuff. That=E2=80=99s correct. Outputs are buckets into which we drop build artifacts. We will build everything with all inputs in one derivation and then move stuff into output buckets. This means that you can download independent outputs individually, but they are still all the result of that *single* derivation. So to build any of the outputs you will need to build that derivation, even if it also results in other outputs that you don=E2=80=99t care about. --=20 Ricardo