From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.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 oJXREasjI2PNwgAAbAwnHQ (envelope-from ) for ; Thu, 15 Sep 2022 15:07:55 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:bcc0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id uAHvEKsjI2OWdgAAG6o9tA (envelope-from ) for ; Thu, 15 Sep 2022 15:07:55 +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 F1405A45C for ; Thu, 15 Sep 2022 15:07:54 +0200 (CEST) Received: from localhost ([::1]:47618 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1oYoaw-0003qj-3C for larch@yhetil.org; Thu, 15 Sep 2022 09:07:54 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:41642) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYoX2-0003mY-Oc for guix-devel@gnu.org; Thu, 15 Sep 2022 09:03:52 -0400 Received: from sender4-of-o51.zoho.com ([136.143.188.51]:21176) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1oYoWx-00048Q-2J for guix-devel@gnu.org; Thu, 15 Sep 2022 09:03:52 -0400 ARC-Seal: i=1; a=rsa-sha256; t=1663247022; cv=none; d=zohomail.com; s=zohoarc; b=DztQTdk7VwYzq4ZvTnj4fQNKSmyeVXlYiNMSKNfpgMzfkY3dZelc2hB0hNt7cfrzkifUTxJ+qD+VWCuJvEprihHgFaredv5q9My+owwMqefTaVMN2pK5t4zAF12iqmTao+y0e6rbrJc6HQ1TN8iqb94Bz4PbsPHgL8G7Au5kIJs= ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=zohomail.com; s=zohoarc; t=1663247022; h=Content-Type:Content-Transfer-Encoding:Date:From:MIME-Version:Message-ID:Subject:To; bh=dIBr3DASn7FyIPwYsocUXvAdgOEvs6ryYXqINFJsSeg=; b=eWHyx+m4pDZlSbNdq+0B+6FlUAd8IC2ikGNbzGW9ISoLa3nyZQr5G+KhXUBkCIGLXlD70KuZR6+UNiKdf9QzVy/8kqkA7LkaDbvAjyn5+R2pW67OBnXigM9oGLntvmSFgw9Cuoy5xdmS6GxcT6u05tDbK3BsarOIsQKCWrDqiwU= 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=1663247022; s=zoho; d=elephly.net; i=rekado@elephly.net; h=From:From:To:To:Subject:Subject:Date:Date:Message-ID:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-Id:Reply-To:Cc; bh=dIBr3DASn7FyIPwYsocUXvAdgOEvs6ryYXqINFJsSeg=; b=MxT7X0ZGQm1hc+qTzm2HFV2AV2fI3rkxNNnSPFiK2kZI4m0yADOr5S0suPsdbkJw zhWtTI/DAMqsRe0kXyvaJT057Tr/qovKttSsvi/XVd9S57SozMOwckCtwVZEI+kuVOK wTvPJtYNY5D77NA71m0J13x8S5PaHhFE03boelhU= Received: from localhost (112-111-142-46.pool.kielnet.net [46.142.111.112]) by mx.zohomail.com with SMTPS id 1663247018066427.9011271432955; Thu, 15 Sep 2022 06:03:38 -0700 (PDT) User-agent: mu4e 1.8.7; emacs 28.1 From: Ricardo Wurmus To: Guix Devel Subject: substitute derivation: also substitute grafts? Date: Thu, 15 Sep 2022 14:58:59 +0200 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: <87r10ckcwp.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-To: larch@yhetil.org X-Migadu-Country: US ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1663247275; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=dIBr3DASn7FyIPwYsocUXvAdgOEvs6ryYXqINFJsSeg=; b=qUekYJVGaMHn/P8HH8lFT+iiNh6ZxyxDK9/+4hX8GBsvfKGk7FzKhI6rYLjIQvOxPok/fM TnY9qPIqvbilu2/9CHx56KSdPFzwLXEkSTp3Tfb5fX1SZ/1fbux9KEze4AowWqQpakuftB PKsaJ5SAcQi8ZuiM3JqqKIc8gVTpJ7VE/XOeY9ijV1OnYoAYq7I1HauE7XqxckdfwpDAey B90CrxrzFGKxY+Q4kYytEKGyQe/ks+uHSk/coC9U7/ZuUvUrEtDFg+K61U+VMq1okb22FW t1T+PmAcuYMaNew6u3T3+o6b705g9zrnKce/CFUW5Ahr8+7RyDU/7zvHRLzoGw== ARC-Seal: i=2; s=key1; d=yhetil.org; t=1663247275; a=rsa-sha256; cv=pass; b=o3QsZskLuky2d/tZvAHrDHHsSU/TwvskfFfsT6zYfpCDPL8s9rUDeeiGaHAx6q+/WUZMgo ZC7VDhiNHuyTd7GcSf2vlcyB4X4T4JRcyNKNhhPLjuaCTBFShvThmmQV+APN+aFxLlhk5I i0Dk7E1sUhctMsBE5gx2PgRVD9A8FnobfOdBi93hL2StZ9+7zOirYs3NfsL49qZ4QIaGSc HfYN3Z9BB2S4tjt7Anf/NZWtxA5US5BkZlNB55CnBxN+t803h2w2NC2LhV9FkerfuDYAj9 Tp1G5DupIdJC/tbmVW4nfcbCslRXcgt6waRjF9mA7VYfWLQDN44nbbHLhAbsiQ== ARC-Authentication-Results: i=2; aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=MxT7X0ZG; 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.33 Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=elephly.net header.s=zoho header.b=MxT7X0ZG; 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: F1405A45C X-Spam-Score: -3.33 X-Migadu-Scanner: scn1.migadu.com X-TUID: gGB/vvQQ1LAP Hi Guix, I really like the fact that Guix can substitute derivations. It=E2=80=99s a great way to transfer a profile from one powerful machine to a weak machine without having to set up SSH for =E2=80=9Cguix copy=E2=80=9D first. I just build a profile on machine A, and then on the weak machine B I do guix build --substitute-urls=3D"http://A:8000" /gnu/store/=E2=80=A6-profi= le.drv and all items for that profile are copied to B. Did I say *all items*? Well, =E2=80=A6 grafts are not included, because gr= aft derivations are marked as not substitutable. Can we change that conditionally? I would really like to avoid having to build grafts on B when they have already been built on A. --=20 Ricardo PS: please keep me in Cc as I=E2=80=99m not subscribed to guix-devel at the= moment.