From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id qEldBqjGzGBzRAAAgWs5BA (envelope-from ) for ; Fri, 18 Jun 2021 18:15:36 +0200 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id oPwLAqjGzGAqVQAAbx9fmQ (envelope-from ) for ; Fri, 18 Jun 2021 16:15:36 +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 9EDDB12391 for ; Fri, 18 Jun 2021 18:15:35 +0200 (CEST) Received: from localhost ([::1]:49978 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1luH9a-0000et-HK for larch@yhetil.org; Fri, 18 Jun 2021 12:15:34 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:51950) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1luH5N-0000af-EY for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:15 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:46309) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1luH5N-0002CK-6Y for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:13 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1luH5N-00030h-32 for guix-patches@gnu.org; Fri, 18 Jun 2021 12:11:13 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [[PATCH v2 core-updates] 33/37] tk: Do not use %build-inputs when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 18 Jun 2021 16:11:13 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 49025 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 49025@debbugs.gnu.org Cc: othacehe@gnu.org, Maxime Devos Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162403264811308 (code B ref 49025); Fri, 18 Jun 2021 16:11:13 +0000 Received: (at 49025) by debbugs.gnu.org; 18 Jun 2021 16:10:48 +0000 Received: from localhost ([127.0.0.1]:57817 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luH4y-0002wD-1X for submit@debbugs.gnu.org; Fri, 18 Jun 2021 12:10:48 -0400 Received: from baptiste.telenet-ops.be ([195.130.132.51]:49880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1luH4c-0002r7-Mf for 49025@debbugs.gnu.org; Fri, 18 Jun 2021 12:10:28 -0400 Received: from localhost.localdomain ([188.188.242.184]) by baptiste.telenet-ops.be with bizsmtp id Jg9t250053zRM2s01gASQB; Fri, 18 Jun 2021 18:10:26 +0200 From: Maxime Devos Date: Fri, 18 Jun 2021 18:09:32 +0200 Message-Id: <20210618160936.18972-33-maximedevos@telenet.be> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210618160936.18972-1-maximedevos@telenet.be> References: <20210618160936.18972-1-maximedevos@telenet.be> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1624032626; bh=zt7BAM2kxTcKP2NYK6l7VYfWxdJEaUVC9x+20Op9hjE=; h=From:To:Cc:Subject:Date:In-Reply-To:References:Reply-To; b=Jp/4guZL1awaU08kdCY/i2LtdPvUfTTnfJTNfLc6sBQTsw0ApiFwS7Blx0J2DBdM4 TMBeXbTPHvIkw4234Yg0fq1ba/KqAng/bIqz6sAQpUAw12C+hq7HtfYhKdpwt8B4NC c9n51YySSpr0Rgyp2zgBz43SlfcTEUdH4H8JR3FaASHj3mIdEMCc6yjOISvVR3W/ln 1PkyW22nKbd2Jig0l4SBdQFjCgbPZT4mZjvQ+pApHSFu8mqHBrRKbyZaV/fWs3p41Y BzQzXwQ2gKBS6ApP9gb31i5dAwbjoPiKWWUOimmsmaOHDQDndJsKdg24AkV41jQLCX QPI+9155MUaRw== 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: , Reply-To: 49025@debbugs.gnu.org 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=1624032935; h=from:from:sender:sender:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc: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=zt7BAM2kxTcKP2NYK6l7VYfWxdJEaUVC9x+20Op9hjE=; b=rli0rvEls969plVXv+Vxf4reTP3oxPnBzTbb8R24RHDnx6B3B5b5K+aBTePadOd7ZSjPI9 t0l4ydmDWePA06et/oBFc9vCn/d/aqwG9SYAEqtOPORRPO4xCxan9k8hwfwFSk+3fnHPT3 WQKvSXp8AcEO+uYxrgVPJs+TZNjK2KI7dRrv9Rh1r5jZTK5KKoHmxVawfbjSEN13Pgp2vc 42/sGjVHCuNf1mrCuejM5xJfoyIOb9HAxSw0fT61quNVFkS7WZmhp5DQNXukTug6BGHKNW rL+1971woA0mxMnAB+5fVAG2YvDJBBXipJZlGuJKu/KO6V4MGSAunU95wUrhlQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1624032935; a=rsa-sha256; cv=none; b=npU+1yrTupcx3mf99hRPMc+HwiLDuTQep/HZW54eWmW7eMtdk5VibXaP+pRcFCqvEH0c/H RByuy791p12ov1T7o0MKEuKjvmRcOQNCxJK+FVp4p5/YUHEyjXtYPsY9cRzgJJys1y3dzL byRWmO268sLY+93sGOTV2qkn5k3vbpW4WXUcsOqHO65bwe7ae7L/phLGaGtoDkxnjhAgCL mES8qDmXJh6Pzk3BJpnAefmczC/T+r6Geulm+ILpReWWH8i2iLSBXellXYrxSbLfkJvfpG 1ynIlnusn4JUo1X60/SGdel5MBEC7asGXUx9DCfOBJp2AQVh1Cxw1IEQ30Qw9A== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="Jp/4guZL"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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-Spam-Score: 5.17 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b="Jp/4guZL"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=telenet.be (policy=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: 9EDDB12391 X-Spam-Score: 5.17 X-Migadu-Scanner: scn1.migadu.com X-TUID: Xvq8PO6LDLUT %build-inputs does not exists when cross-compiling, so use #$(this-package-input ...) instead. * gnu/packages/tcl.scm (tk)[arguments]<#:configure-flags>: Use 'this-package-input' instead of '%build-inputs' when cross-compiling. --- gnu/packages/tcl.scm | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/gnu/packages/tcl.scm b/gnu/packages/tcl.scm index c87a8187f2..91ba8bbb3f 100644 --- a/gnu/packages/tcl.scm +++ b/gnu/packages/tcl.scm @@ -29,6 +29,7 @@ #:use-module (guix download) #:use-module (guix git-download) #:use-module (guix utils) + #:use-module (guix gexp) #:use-module (guix build-system gnu) #:use-module (guix build-system go) #:use-module (guix build-system perl) @@ -232,7 +233,9 @@ X11 GUIs.") #:configure-flags ,#~ (list (string-append "--with-tcl=" - (assoc-ref %build-inputs "tcl") + #$(if (%current-target-system) + (this-package-input "tcl") + #~(assoc-ref %build-inputs "tcl")) "/lib") ;; This is needed when cross-compiling, see: ;; https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=719247 -- 2.32.0