From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms5.migadu.com with LMTPS id IFZcKKV5OGOX0QAAbAwnHQ (envelope-from ) for ; Sat, 01 Oct 2022 19:32:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id GKRrKKV5OGPZOQAA9RJhRA (envelope-from ) for ; Sat, 01 Oct 2022 19:32:21 +0200 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 5756917DD6 for ; Sat, 1 Oct 2022 19:32:21 +0200 (CEST) Received: from localhost ([::1]:51422 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oegLc-00089Y-Id for larch@yhetil.org; Sat, 01 Oct 2022 13:32:20 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51836) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oegLE-00089P-DJ for guix-devel@gnu.org; Sat, 01 Oct 2022 13:31:56 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21153) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oegLA-0007Tk-5A; Sat, 01 Oct 2022 13:31:56 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1664645508; cv=none; d=zohomail.com; s=zohoarc; b=hiZv+G/OgvkxZMguKDZJnsf1OUk9bLjuF5DbHBlwBVdHpFygQT36GAeUcFbcJKv6kO85MoVFQ5o0jccTQSCPxLH4hCfhz5kFbumvdHnA33NsF4WGyN6EYNbwXEGNr3K/k/oP7tI2D0d6vNHUTLIIB+OYbBTy8r+gs17Mz29U+dc= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1664645508; h=Content-Type:Content-Transfer-Encoding:Cc:Date:From:In-Reply-To:MIME-Version:Message-ID:References:Subject:To; bh=jSrfdeQICzbBlDmRFNF+HBsv++Txbg9Fuv+Hqs3rsp4=; b=jzbeGOWASOQbOFPb8mpyXZTiT6zADWU/iqLCqOMts+4yEEUvuOQKY0P8MjfjYLx3qbp1+UBfB7c18uXnSFjjI7/cDe4ZuXr6GrJ1ecufCS1nUOUQVFsNiewLF9rKM6bG2TSkuB738bSFzcxddxp7RQ08f6++iy90dAggJs5Lslk= 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= DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1664645508; s=zoho; d=elephly.net; i=rekado@elephly.net; h=References:From:From:To:To:Cc:Cc:Subject:Subject:Date:Date:In-reply-to:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To; bh=jSrfdeQICzbBlDmRFNF+HBsv++Txbg9Fuv+Hqs3rsp4=; b=FswzC3aE6Libbev/Y2+Cz+x3vXGUDjrV8J8DXnZP+tD4HjughXo6oicNUPtLSCDg dz3otVSEiX2GhnlV2hphwVJHddt4UOatCkleMPMzw+wqV6iCrDVUeNRHerUMxbZb676 s/QFGUuFXXHM6TTWLrwsOcdAOsE171tsRE8NtUvo= Received: from localhost (247-109-142-46.pool.kielnet.net [46.142.109.247]) by mx.zohomail.com with SMTPS id 1664645505933238.70525023685013; Sat, 1 Oct 2022 10:31:45 -0700 (PDT) References: <87r10ckcwp.fsf@elephly.net> <87o7vgg0e3.fsf@riseup.net> <50888e79-4d5e-8c66-b318-975e0d170aca@telenet.be> <87tu53ggxu.fsf@elephly.net> <87sfk7cx5m.fsf@gnu.org> User-agent: mu4e 1.8.9; emacs 28.1 From: Ricardo Wurmus To: Ludovic =?utf-8?Q?Court=C3=A8s?= Cc: Maxime Devos , Csepp , guix-devel@gnu.org Subject: Re: substitute derivation: also substitute grafts? Date: Sat, 01 Oct 2022 19:29:03 +0200 In-reply-to: <87sfk7cx5m.fsf@gnu.org> 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 Message-ID: <87ill3qwld.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.51; envelope-from=rekado@elephly.net; helo=sender4-of-o51.zoho.com 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: "Guix-devel" X-Migadu-Flow: FLOW_IN X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1664645541; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jSrfdeQICzbBlDmRFNF+HBsv++Txbg9Fuv+Hqs3rsp4=; b=KODyr4Q23cl/VQHouDQwLrmlATNH4CHVXchIVna8ZM9EhHwD4KY6fa3SVG8a+S4S0JsMnr q1fswJ5GQQ/Ejr7FBCs1upTAR5XcNravmU28u5ELTM7ri1T8+MCEgyiSLeUpWb913wMt6f TpMZ+u7ypIEOukBzxKvdzWugrFNxZ/hSQO36ZcXLxbsXjmqbUnYL2tlGTvk1QbJ7F2Raa2 EyCYNznf47puiZhNjQV3WMt+jRZP+vKdsyiQ+ZR4M7uNEk/SBuHDtVSDMmnmeEifYjx+pH bkCIkzBUlvF0bSKGW3KZKjMf3++7mdatSvUBdWnvjfI/OmK0YvAYWE/t+yMO8w== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1664645541; a=rsa-sha256; cv=pass; b=a8bNMHXJtN4u7mxB8a9ZCy7RcDf7QlJuINHJVS46b20mk9dAN2t6Tg8exC/daz8RqE/F7h rdBv9QkLiW0pBlrUNgU4+esBRq0/YmF6l9kyCMESR4MmLmC7JYlT3xUGVZ+Q/SNCKDNFNI 2fbzhyjcnZEOKjw4VCzUGw8WYQVrwsJZmetpC4anfCoKde2Uo++UMzgb4Cvcj4B4kTGDGC 4g38kuMhuFHi/dEsIjK3oul7cwtpFJU/bAuabQm9ZFF8Kg9/+cb2q2YHHjq2eSei4tpmzJ pz5S8Fn5ToriLRoS4wRSc0FFIZXNNpousBumZJ+Fg4wP3j4MS02XfpHw04rITQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=FswzC3aE; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Spam-Score: -3.34 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=FswzC3aE; arc=pass ("zohomail.com:s=zohoarc:i=1"); dmarc=none; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org" X-Migadu-Queue-Id: 5756917DD6 X-Spam-Score: -3.34 X-Migadu-Scanner: scn0.migadu.com X-TUID: qJhI//CNnjlZ Ludovic Court=C3=A8s writes: > The premise was that computing a graft is usually quicker than > transferring it, which is why they have #:substitutable? #f. > > I don=E2=80=99t think it would be reasonable to have a switch to toggle > #:substitutable? because that would make .drv depend on external > factors. If substitutable was merely a hint that a daemon could be free to ignore it wouldn=E2=80=99t be any worse than downloading a substitute vs building something locally. > However, when copying things around, you can still do: =E2=80=98guix copy > /gnu/store/=E2=80=A6-xyz=E2=80=99 and that=E2=80=99ll work fine, whether = or not it=E2=80=99s a graft. > But maybe that=E2=80=99s not a satisfying answer for your situation? =E2=80=9Cguix copy=E2=80=9D only works over SSH, which requires more config= uration (sshd, key exchange, etc) and firewall exceptions. The beauty of derivation substitution is that it just works without any prior configuration. --=20 Ricardo