From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp10.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id iNPeKVJaumR9UwAASxT56A (envelope-from ) for ; Fri, 21 Jul 2023 12:13:38 +0200 Received: from aspmx1.migadu.com ([2001:41d0:306:2d92::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp10.migadu.com with LMTPS id sLTvKFJaumQo4wAAG6o9tA (envelope-from ) for ; Fri, 21 Jul 2023 12:13:38 +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 56B2E39EF2 for ; Fri, 21 Jul 2023 12:13:38 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1689934418; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post; bh=91DeLMRL2OoE3/Z3S6UyuUrhchObbO8yZ8kJZkHJR1I=; b=QBfIpz4cGgSR6ytN7RG6Yt+U+Oyy1yky7CzDst9yyx/G6VtNSgRekiGx8WmZYGXNadABqO stcgLalU7VwA9+Hdptw/bRsbbg8Am1immVxTk1MyXnV0s0KfjqJE0SSVe0ZcwDJ5KokJKK D+4X0spQ3QrjKDkgCBkV89NYMjfBmyqwflH6nlIwXiHIf+bqAqwSZel6bWuScu/0e7xo2C /8Fk/d92S5GlIXhAcvpJy54oRhTdOPY++QJsQogwLreuwu1zQ+Eg+sGaXJRZhzhRq3ce4Y I/umeUExBEttVFlrTTVlBMMuzxxTaTBhF3JCUMmVIRvO4+QRnHohSsYlEb03aw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1689934418; a=rsa-sha256; cv=none; b=FL/18efTao7vA383iuk0RN+3FUWrT/SD5zo06PFdR9am4q3ALtci+QzNBWfbehE93kclCN 2kI8z0/QXimGvJgFYknoyhFNUwvthrneX5yOQ1TjuHASGDMJaKjWEm0HpXt8qpZHLn6MDu 9qy9vj7Ss9e1SnGKBmvLt+a8qMCAQ4pLv4Kx27sbU/+M6ffuuG4BqNBU4XVbQFr4k764Ku wCKtDKytlGJyE6qzBPtKMmcmJtJo2HT86qhJMb0mr4XF4o30A0IWb2Al6iJ7YztZIh7nr6 VETC4mcYsWy2rJuo2/NYfyrwErVACxCmriJBCLx9V8rQBVSsJHZylLa64r4zuA== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=none; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=none Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMn8I-0000II-Qe; Fri, 21 Jul 2023 06:13:11 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMn8D-0000Hy-1o for guix-patches@gnu.org; Fri, 21 Jul 2023 06:13:05 -0400 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1qMn8C-0003zO-37 for guix-patches@gnu.org; Fri, 21 Jul 2023 06:13:04 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qMn8A-0001MY-G6 for guix-patches@gnu.org; Fri, 21 Jul 2023 06:13:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#64763] [PATCH] gnu: commencement: Use system in %final-inputs. Resent-From: Christopher Baines Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 21 Jul 2023 10:13:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 64763 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 64763@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.16899343235121 (code B ref -1); Fri, 21 Jul 2023 10:13:02 +0000 Received: (at submit) by debbugs.gnu.org; 21 Jul 2023 10:12:03 +0000 Received: from localhost ([127.0.0.1]:60567 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMn7C-0001K4-MD for submit@debbugs.gnu.org; Fri, 21 Jul 2023 06:12:03 -0400 Received: from lists.gnu.org ([2001:470:142::17]:35524) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qMn78-0001JS-IE for submit@debbugs.gnu.org; Fri, 21 Jul 2023 06:12:02 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qMn70-0007wD-KN for guix-patches@gnu.org; Fri, 21 Jul 2023 06:11:51 -0400 Received: from mira.cbaines.net ([2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27]) by eggs.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qMn6y-0003st-Mp for guix-patches@gnu.org; Fri, 21 Jul 2023 06:11:50 -0400 Received: from localhost (unknown [IPv6:2a02:8010:68c1:0:54d1:d5d4:280e:f699]) by mira.cbaines.net (Postfix) with ESMTPSA id 5010727BBE2 for ; Fri, 21 Jul 2023 11:11:46 +0100 (BST) Received: from localhost (localhost [local]) by localhost (OpenSMTPD) with ESMTPA id ed6cf816 for ; Fri, 21 Jul 2023 10:11:46 +0000 (UTC) From: Christopher Baines Date: Fri, 21 Jul 2023 11:11:45 +0100 Message-ID: <3e0a5d1957c35a9925aab5600ee02b923584a599.1689934305.git.mail@cbaines.net> X-Mailer: git-send-email 2.41.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Received-SPF: pass client-ip=2a01:7e00:e000:2f8:fd4d:b5c7:13fb:3d27; envelope-from=mail@cbaines.net; helo=mira.cbaines.net X-Spam_score_int: -18 X-Spam_score: -1.9 X-Spam_bar: - X-Spam_report: (-1.9 / 5.0 requ) BAYES_00=-1.9, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, UNPARSEABLE_RELAY=0.001 autolearn=ham autolearn_force=no X-Spam_action: no action 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-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx2.migadu.com X-Migadu-Spam-Score: -3.14 X-Spam-Score: -3.14 X-Migadu-Queue-Id: 56B2E39EF2 X-TUID: e+MmqGrQ7MDC Otherwise this causes odd issues, I presume arising from when %current-system differs from the system argument passed to %final-inputs. * gnu/packages/commencement.scm (%final-inputs): Set %current-system to system. --- gnu/packages/commencement.scm | 51 ++++++++++++++++++----------------- 1 file changed, 26 insertions(+), 25 deletions(-) diff --git a/gnu/packages/commencement.scm b/gnu/packages/commencement.scm index fe6f025257..e522e70444 100644 --- a/gnu/packages/commencement.scm +++ b/gnu/packages/commencement.scm @@ -3459,31 +3459,32 @@ (define-public %final-inputs ;; still use 'package-with-bootstrap-guile' so that the bootstrap tools are ;; used for origins that have patches, thereby avoiding circular ;; dependencies. - (let ((finalize (compose with-boot6 - package-with-bootstrap-guile))) - `(,@(map (match-lambda - ((name package) - (list name (finalize package)))) - `(("tar" ,tar) - ("gzip" ,gzip) - ("bzip2" ,bzip2) - ("file" ,file) - ("diffutils" ,diffutils) - ("patch" ,patch) - ("findutils" ,findutils) - ("gawk" ,gawk))) - ("sed" ,sed-final) - ("grep" ,grep-final) - ("xz" ,xz-final) - ("coreutils" ,coreutils-final) - ("make" ,gnu-make-final) - ("bash" ,bash-final) - ("ld-wrapper" ,ld-wrapper) - ("binutils" ,binutils-final) - ("gcc" ,gcc-final) - ("libc" ,glibc-final) - ("libc:static" ,glibc-final "static") - ("locales" ,glibc-utf8-locales-final))))) + (parameterize ((%current-system system)) + (let ((finalize (compose with-boot6 + package-with-bootstrap-guile))) + `(,@(map (match-lambda + ((name package) + (list name (finalize package)))) + `(("tar" ,tar) + ("gzip" ,gzip) + ("bzip2" ,bzip2) + ("file" ,file) + ("diffutils" ,diffutils) + ("patch" ,patch) + ("findutils" ,findutils) + ("gawk" ,gawk))) + ("sed" ,sed-final) + ("grep" ,grep-final) + ("xz" ,xz-final) + ("coreutils" ,coreutils-final) + ("make" ,gnu-make-final) + ("bash" ,bash-final) + ("ld-wrapper" ,ld-wrapper) + ("binutils" ,binutils-final) + ("gcc" ,gcc-final) + ("libc" ,glibc-final) + ("libc:static" ,glibc-final "static") + ("locales" ,glibc-utf8-locales-final)))))) (define-public canonical-package (let ((name->package (mlambda (system) base-commit: 120f1721b2b66e5c9507556267bbfd83945958ce prerequisite-patch-id: 9576d8ce545492d52fbe016d30103a51a9ddf94f -- 2.41.0