From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id OKQNJf4kSGFARgEAgWs5BA (envelope-from ) for ; Mon, 20 Sep 2021 08:06:54 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id AFqoIP4kSGF8RwAAB5/wlQ (envelope-from ) for ; Mon, 20 Sep 2021 06:06:54 +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 50E032301B for ; Mon, 20 Sep 2021 08:06:54 +0200 (CEST) Received: from localhost ([::1]:44600 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mSBjv-0002nD-Pd for larch@yhetil.org; Mon, 20 Sep 2021 01:21:15 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:49290) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mSBjj-0002lt-14 for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:57269) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mSBji-00033m-MD for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:02 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mSBji-0007WZ-Ip for bug-guix@gnu.org; Mon, 20 Sep 2021 01:21:02 -0400 X-Loop: help-debbugs@gnu.org Subject: bug#50493: [PATCH 1/4] build-system/go: Add #:substitutable? argument. Resent-From: Sarah Morgensen Original-Sender: "Debbugs-submit" Resent-CC: bug-guix@gnu.org Resent-Date: Mon, 20 Sep 2021 05:21:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 50493 X-GNU-PR-Package: guix X-GNU-PR-Keywords: To: 50493@debbugs.gnu.org Received: via spool by 50493-submit@debbugs.gnu.org id=B50493.163211525628860 (code B ref 50493); Mon, 20 Sep 2021 05:21:02 +0000 Received: (at 50493) by debbugs.gnu.org; 20 Sep 2021 05:20:56 +0000 Received: from localhost ([127.0.0.1]:40575 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBjc-0007VQ-08 for submit@debbugs.gnu.org; Mon, 20 Sep 2021 01:20:56 -0400 Received: from out2.migadu.com ([188.165.223.204]:41697) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mSBja-0007VD-CH for 50493@debbugs.gnu.org; Mon, 20 Sep 2021 01:20:55 -0400 X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mgsn.dev; s=key1; t=1632115252; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=nMQlPJvjS2emZsZbcef7yAzP8j24x1MdddyrjNR17kQ=; b=XFAmua7rKqbxEYwgNbU71X6Zvl3qA00ID6zSjbld2rprnIQRxTMQ6AllRSfc8T3pVEul05 Ecx8lC8UQawGCZRbKajKWwScCk+wX5t9UCS7+U7Ktc6AQ3V1QDFLZokKnvWgZXn8t0uDN3 HCfRbF6SaBaNSzr90xtJ6m+tBUx55Is= From: Sarah Morgensen Date: Sun, 19 Sep 2021 22:20:48 -0700 Message-Id: <886cdf3621d5a9592e833be510d549484f558970.1632099301.git.iskarian@mgsn.dev> In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: bug-guix@gnu.org List-Id: Bug reports for GNU Guix List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-guix-bounces+larch=yhetil.org@gnu.org Sender: "bug-Guix" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1632118014; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding:resent-cc: resent-from:resent-sender:resent-message-id:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=nMQlPJvjS2emZsZbcef7yAzP8j24x1MdddyrjNR17kQ=; b=N7LwIwIXRQVLEPaQYeEX93SnWk+RWDwT4pmxkjBgzLybxYJJwUgqdV1D208SQ6hjBTNYkc cdZxWkfjjEOZwrsvK/D0ib/KXVv901y9vy/CYl8y7PTN/k7yUiITvik/in2a6tdNeq3ZMz +uWEngWf+LBRDdkWCUltVu5NnZPg2gsQTpa98sIPmgWqzfcZ/i/gsLETBnh7WwwdpuJFJJ IT1EzSKDmnVWUOArR1JsnoeVSdJ0BfmU3MOFA+WshKMLYtTXcs6bzMgRLkBmkJIomOCIfe zJhmh8bpmNJ6cUCc2+GPc6I4b4PEoMDqE/szRUHqxDSwHp4dettn7VKtCzqouA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1632118014; a=rsa-sha256; cv=none; b=rVlglPU/l0ITgZM9PF7GckH6HgYPCWrE3IOTFENVWLY7WCQ+Y9xhOCDChvzu8VS1FFWWA2 H/6PDSHlfwLo0/bCAZ8pKuSVGXiyZPepWLdSG8d6oKGlArK9cFKc5MwAWetKy3tnwX8E40 MvMK3PolRpdyRyXyRO8ZiGXwfu2OHqoPANyA2rQDcAnKqow3I3cVXX0Y/vgE1xi1tMNacU C/v2jXGiSZYvszU2D200XV3E0A4GrYSFsnPa9zOLUguvDRPseR8YXSuI2OlaHv3lNKZq8S /AxhacDU5PfAJ+WbRDmXh3B/x8HKpqK1T69i7P1ZPJ9c+/m/QHAPStstDD3DsQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=XFAmua7r; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Spam-Score: 5.21 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=mgsn.dev header.s=key1 header.b=XFAmua7r; dmarc=fail reason="SPF not aligned (relaxed)" header.from=mgsn.dev (policy=none); spf=pass (aspmx1.migadu.com: domain of bug-guix-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=bug-guix-bounces@gnu.org X-Migadu-Queue-Id: 50E032301B X-Spam-Score: 5.21 X-Migadu-Scanner: scn0.migadu.com X-TUID: HtH0HOmbnGV7 * guix/build-system/go.scm (go-build): Add 'substitutable?' argument. (go-cross-build): Likewise. --- guix/build-system/go.scm | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/guix/build-system/go.scm b/guix/build-system/go.scm index 4c1a732107..8aa065c4ff 100644 --- a/guix/build-system/go.scm +++ b/guix/build-system/go.scm @@ -169,7 +169,8 @@ (define* (go-build store name inputs (imported-modules %go-build-system-modules) (modules '((guix build go-build-system) (guix build union) - (guix build utils)))) + (guix build utils))) + (substitutable? #t)) (define builder `(begin (use-modules ,@modules) @@ -211,6 +212,7 @@ (define* (go-build store name inputs #:system system #:modules imported-modules #:outputs outputs + #:substitutable? substitutable? #:guile-for-build guile-for-build)) (define* (go-cross-build store name @@ -234,7 +236,8 @@ (define* (go-cross-build store name (imported-modules %go-build-system-modules) (modules '((guix build go-build-system) (guix build union) - (guix build utils)))) + (guix build utils))) + (substitutable? #t)) "Cross-build NAME using GO, where TARGET is a GNU triplet and with INPUTS." (define builder `(begin @@ -303,6 +306,7 @@ (define* (go-cross-build store name #:inputs (append native-drvs target-drvs) #:outputs outputs #:modules imported-modules + #:substitutable? substitutable? #:guile-for-build guile-for-build)) (define go-build-system -- 2.33.0