From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id kExeMznAomGHdgEAgWs5BA (envelope-from ) for ; Sun, 28 Nov 2021 00:33:13 +0100 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0 with LMTPS id KNoALznAomExUQAA1q6Kng (envelope-from ) for ; Sat, 27 Nov 2021 23:33:13 +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 0C05F3FDE1 for ; Sun, 28 Nov 2021 00:33:13 +0100 (CET) Received: from localhost ([::1]:58742 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mr7Bw-00010n-2q for larch@yhetil.org; Sat, 27 Nov 2021 18:33:12 -0500 Received: from eggs.gnu.org ([209.51.188.92]:57880) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mr7Bm-00010W-Sg for guix-patches@gnu.org; Sat, 27 Nov 2021 18:33:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:51379) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mr7Bm-0001yk-KD for guix-patches@gnu.org; Sat, 27 Nov 2021 18:33:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1mr7Bm-00041L-H5 for guix-patches@gnu.org; Sat, 27 Nov 2021 18:33:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#51198] [PATCH v2 1/2] build-system/gnu: Add #:local-build? parameter. References: In-Reply-To: Resent-From: Leo Famulari Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 27 Nov 2021 23:33:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 51198 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 51198@debbugs.gnu.org Received: via spool by 51198-submit@debbugs.gnu.org id=B51198.163805597515429 (code B ref 51198); Sat, 27 Nov 2021 23:33:02 +0000 Received: (at 51198) by debbugs.gnu.org; 27 Nov 2021 23:32:55 +0000 Received: from localhost ([127.0.0.1]:34690 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr7Be-00040m-LC for submit@debbugs.gnu.org; Sat, 27 Nov 2021 18:32:54 -0500 Received: from wout4-smtp.messagingengine.com ([64.147.123.20]:42039) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1mr7Bc-00040M-Sj for 51198@debbugs.gnu.org; Sat, 27 Nov 2021 18:32:53 -0500 Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 088603200904; Sat, 27 Nov 2021 18:32:45 -0500 (EST) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sat, 27 Nov 2021 18:32:46 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=famulari.name; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; s=mesmtp; bh=h98TlDSRaUhbKD5ElVfDfRW J1hdoa8U7bqWuCAnRPNk=; b=qlEhyP2l2hFltzjtRvVMBiCL58h2RMHWWePxSBD tauOuuyupY1p9xnwybdcJQXFKObODTt8pctE0l7w/aIH63BAsVpHiBgc0ubvP9He hgH8IBYXYn3pgPZgc4y07fUL4eAQPLIUuy/Uv6kHwoEU/tY06qjrnbSohnZQ6vbc Cb8Y= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=content-transfer-encoding:date:from :message-id:mime-version:subject:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=h98TlDSRaUhbKD5El VfDfRWJ1hdoa8U7bqWuCAnRPNk=; b=i0JRotGEPtbbtraXI1fZz6PA8xFhqai97 gxCElECJWl2/hkC75c4p2FxbSSqpY2E9iv3vgu2ntl4aQZXYPdcohwSMVLSpH3HL zYJ87+LPCUa2KVO+ZaPOVXz6rE6kbgkhRrZnpCujjpINzyZ3Kaqp46p3stZwvg1W eDe+nnXi3SbFjgoSf9bl8w8ZZ/pdVsj0D9pcmbj57Pp7LA8AnvxZTkU+H4coWN// QFaBrhSVyca1BR7XozyafQ5I3Nf+srSgA/iLnoYQ3XOMKPr/G9kt4nCSPpbv30BC pFCCWc/FigKlNbXVSGVoIog69XqwwcZ/PE3gfhWCpy86e+feq5lZg== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedvuddrheehgdduudcutefuodetggdotefrodftvf curfhrohhfihhlvgemucfhrghsthforghilhdpqfgfvfdpuffrtefokffrpgfnqfghnecu uegrihhlohhuthemuceftddtnecunecujfgurhephffvufffkffoggfgsedtkeertdertd dtnecuhfhrohhmpefnvghoucfhrghmuhhlrghrihcuoehlvghosehfrghmuhhlrghrihdr nhgrmhgvqeenucggtffrrghtthgvrhhnpeetueeigfelheekveffveetffeugeeuuddvge eiffevkeeuffefteduvdfhhfduhfenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgr mhepmhgrihhlfhhrohhmpehlvghosehfrghmuhhlrghrihdrnhgrmhgv X-ME-Proxy: Received: by mail.messagingengine.com (Postfix) with ESMTPA for <51198@debbugs.gnu.org>; Sat, 27 Nov 2021 18:32:45 -0500 (EST) From: Leo Famulari Date: Sat, 27 Nov 2021 18:32:37 -0500 Message-Id: X-Mailer: git-send-email 2.33.1 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: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1638055993; 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=h98TlDSRaUhbKD5ElVfDfRWJ1hdoa8U7bqWuCAnRPNk=; b=YEkBWNvXQAQdWYguAenGZ1bPaaTRPDps7ebScHji5xKR6waW+dLbXbvZx6Xymw+Z9SLjeo IAaV+JOJEkJfGRHZpH0nJGHEV0JpeqbpbtQUHqTdoo1zIKB7hufoIElwnBkAVBam2Jw6yV otZaBklU8YE1m5+f/7wF4AbpRPGuQiyS1Prq3pwKYEHVTsrqqwAii6fbGzymOkyScDJ1xz VuJe4sYhtduwB2Gku911eA/3JDxf2z00wEwnlBvg8cFGwlO4zJhbpzThJNtNy/Gze6MSxM bQmXA284czgp5WjoNLCHFe5rmX2NVz5E3tPsPin2oeTszuFoimXYHDNZ47onsQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1638055993; a=rsa-sha256; cv=none; b=gP4SexVNa5Pu2MlVrd0N5a0EKgGjHuWjRO9NT3fabFr/5DutavgaSkF7MyMxsh5XzQWaFh R12r63PrKkYZmcmVEC5hLOW4KLTPdMOv/eeemanLz/TB/EoBQHrEdqJpBdSFSc5YD4siv1 ehMnM5/ew48OyHIZr6VB+GZNFUuvtYu8OxLdqPv9+1Zh5wC1IyDuQJhzlMm98Kl1/MAxEi 3lRukEvp3VipHqSDroe2XE/BetGEwGuGsY6nUXRXWeK0XP+l0KrDTxgheX0BFx8siu0E8t Jl6jCQSC51/+ZRHGJMWxwCwwsuvNoevcZOV8eNQCFp4baImxTYyulTmfTmDcEQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=qlEhyP2l; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=i0JRotGE; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Spam-Score: 3.00 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=famulari.name header.s=mesmtp header.b=qlEhyP2l; dkim=fail ("headers rsa verify failed") header.d=messagingengine.com header.s=fm1 header.b=i0JRotGE; dmarc=none; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 0C05F3FDE1 X-Spam-Score: 3.00 X-Migadu-Scanner: scn1.migadu.com X-TUID: z5+vwTp9O56O * guix/build-system/gnu.scm (gnu-build, gnu-cross-build): Add #:local-build? parameter and pass it to 'build-expression->derivation'. --- guix/build-system/gnu.scm | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/guix/build-system/gnu.scm b/guix/build-system/gnu.scm index 6b481ad45c..fc923f0c5a 100644 --- a/guix/build-system/gnu.scm +++ b/guix/build-system/gnu.scm @@ -349,6 +349,7 @@ (define* (gnu-build store name input-drvs (build (nix-system->gnu-triplet system)) (imported-modules %gnu-build-system-modules) (modules %default-modules) + (local-build? #f) (substitutable? #t) allowed-references disallowed-references) @@ -429,6 +430,7 @@ (define guile-for-build #:inputs input-drvs #:outputs outputs #:modules imported-modules + #:local-build? local-build? #:substitutable? substitutable? #:allowed-references @@ -504,6 +506,7 @@ (define* (gnu-cross-build store name (build (nix-system->gnu-triplet system)) (imported-modules %gnu-build-system-modules) (modules %default-modules) + (local-build? #f) (substitutable? #t) allowed-references disallowed-references) @@ -595,6 +598,7 @@ (define guile-for-build #:inputs (append native-drvs target-drvs) #:outputs outputs #:modules imported-modules + #:local-build? local-build? #:substitutable? substitutable? #:allowed-references -- 2.33.1