From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms0.migadu.com with LMTPS id MDS/Hdd+x2AtbQAAgWs5BA (envelope-from ) for ; Mon, 14 Jun 2021 18:07:51 +0200 Received: from aspmx1.migadu.com ([2001:41d0:8:6d80::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id CI3yGNd+x2CxHwAAbx9fmQ (envelope-from ) for ; Mon, 14 Jun 2021 16:07:51 +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 F0D8334FDB for ; Mon, 14 Jun 2021 18:07:50 +0200 (CEST) Received: from localhost ([::1]:51902 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lsp7t-0001o5-W9 for larch@yhetil.org; Mon, 14 Jun 2021 12:07:50 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:60926) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lsp79-0001lM-8I for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:36155) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1lsp78-0008MF-Vy for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1lsp78-00054r-PL for guix-patches@gnu.org; Mon, 14 Jun 2021 12:07:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#49025] [PATCH core-updates 15/37] python: Fix reference to input when cross-compiling. Resent-From: Maxime Devos Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Mon, 14 Jun 2021 16:07:02 +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 Received: via spool by 49025-submit@debbugs.gnu.org id=B49025.162368679319443 (code B ref 49025); Mon, 14 Jun 2021 16:07:02 +0000 Received: (at 49025) by debbugs.gnu.org; 14 Jun 2021 16:06:33 +0000 Received: from localhost ([127.0.0.1]:47693 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsp6e-00053R-CA for submit@debbugs.gnu.org; Mon, 14 Jun 2021 12:06:32 -0400 Received: from laurent.telenet-ops.be ([195.130.137.89]:45738) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1lsoft-00049r-9U for 49025@debbugs.gnu.org; Mon, 14 Jun 2021 11:38:53 -0400 Received: from butterfly.local ([IPv6:2a02:1811:8c09:9d00:aaf1:9810:a0b8:a55d]) by laurent.telenet-ops.be with bizsmtp id H3es2500L0mfAB4013esdw; Mon, 14 Jun 2021 17:38:52 +0200 Message-ID: <6248f1f47c912ca357fd1c5f390c9007033dade1.camel@telenet.be> From: Maxime Devos Date: Mon, 14 Jun 2021 17:38:52 +0200 In-Reply-To: References: Content-Type: multipart/mixed; boundary="=-DP2wW/KlKhRjISAHd56i" User-Agent: Evolution 3.34.2 MIME-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=telenet.be; s=r21; t=1623685133; bh=sxYEjfJFxqzIqdewtxXhkwGSS1U07GxaI+f6QcrtDkQ=; h=Subject:From:To:Date:In-Reply-To:References; b=d6TcwFiICsA1vLcmeKtl8EmmTLcTJmY1KPUk26kovO0ur5pe2UtyU1K1+4wuzHFnw fLDyo3zTOELYGMorz3DmKc7E0Mc7TPcSpRgOkV4z3suUipoiA5gJaDX/YZwi8LxCXT NgKofb3Tp4HBYDOQh1L5q+9zPMLsFyi3zpt2JJNJ+jlTIn57Lt4SNJNatt1oRmxwn9 0rMWqiOSebDE107H8YiqqP6DOj0Rlszx6EPNCrWwQK1zSsN4XUcni3ZFV0kGL7jYiG HsSNMRb5vntekeqjuUykeZPmZJIcF7NYKqGVJuEk4atjPZADzkAbvgla4996++LiV+ 69vR2z2AuX87w== 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=1623686871; 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: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=sxYEjfJFxqzIqdewtxXhkwGSS1U07GxaI+f6QcrtDkQ=; b=QST/gm37vk2+oWvQPSEv4fW/26K8LN4VPPQab9vC2WCbn6rSHzHnxzVL56bYfAqSyhuUqO 5PMpRtmdUF2pGTahLlbNhHiyB3cNKbtJWwF7irGkK+bX+bQx+yE7nVg10CwWkrOj1cpq0Q iPqLcP13t7J8ye4pkVQlkR5gVwwvehuV/hi9/iKB36Baf38MywkIHR/MNJdmtJEX31xXpG LkUEuuUfXX+O94g3tPxNkkk49lFe7Jpfy66z7D2KDQ3NjOp6+45AbDALJ6O/k5fqIDIRt4 hLSveYo+X8wY4xaGJwD3pTjyNfXB5K+chgK5CjROVu3Fd6RkP5+d5mJwdXKBNA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1623686871; a=rsa-sha256; cv=none; b=ApfJr03UzpHuxMAKpQQDHpd6vFDoVPbX4oy8AoTcSHrnVcYJbUdTD7PpsbJGMnF9WE4s0I 6tpvJ9d1A4r1MeaU23Fkzv9s6sSs7D3YQ/FN/ov05Df6y1N/VlKjoU21QmAOSAR1Mt3ocq mfqPcF4z3fYnzEKWVnewc7NNPWDeFeYIeOX5iq+tqq3KJYckaB3O3K3SaLY4hIXvgSVT3Z NIfS1TAo3Vf21lQQcF9fE9MNJKlEHeLMVziADR21hU1Tk3gLdeKkXBiwKvNmoAqhryTp3Q pg734dJbErWN3Ts2XRdeDnIoaAn0rDrebZHi+duJfPHgkG7EXYJiOCstK1lmQg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=d6TcwFiI; 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: -1.33 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=telenet.be header.s=r21 header.b=d6TcwFiI; 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: F0D8334FDB X-Spam-Score: -1.33 X-Migadu-Scanner: scn0.migadu.com X-TUID: bMxxsRWy7e1v --=-DP2wW/KlKhRjISAHd56i Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit "sitecustomize.py" is a native input, so look it up in 'native-inputs', not 'inputs'. * gnu/packages/python.scm (customize-site): Look up "sizecustomize.py" in 'native-inputs', not 'inputs'. --- gnu/packages/python.scm | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) --=-DP2wW/KlKhRjISAHd56i Content-Disposition: attachment; filename="0015-python-Fix-reference-to-input-when-cross-compiling.patch" Content-Transfer-Encoding: 7bit Content-Type: text/x-patch; name="0015-python-Fix-reference-to-input-when-cross-compiling.patch"; charset="us-ascii" diff --git a/gnu/packages/python.scm b/gnu/packages/python.scm index fbad0b65b8..f004b8e739 100644 --- a/gnu/packages/python.scm +++ b/gnu/packages/python.scm @@ -111,13 +111,14 @@ (define* (customize-site version) "Generate a install-sitecustomize.py phase, using VERSION." - `(lambda* (#:key inputs outputs #:allow-other-keys) + `(lambda* (#:key native-inputs inputs outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (site-packages (string-append out "/lib/python" ,(version-major+minor version) "/site-packages")) - (sitecustomize.py (assoc-ref inputs "sitecustomize.py")) + (sitecustomize.py (assoc-ref (or native-inputs inputs) + "sitecustomize.py")) (dest (string-append site-packages "/sitecustomize.py"))) (mkdir-p site-packages) (copy-file sitecustomize.py dest) --=-DP2wW/KlKhRjISAHd56i--