From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp11.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms9.migadu.com with LMTPS id gC+OCGW5zWTYOwEASxT56A (envelope-from ) for ; Sat, 05 Aug 2023 04:52:21 +0200 Received: from aspmx1.migadu.com ([2001:41d0:403:478a::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp11.migadu.com with LMTPS id YEF+CGW5zWRYugAA9RJhRA (envelope-from ) for ; Sat, 05 Aug 2023 04:52:21 +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 61C765F063 for ; Sat, 5 Aug 2023 04:52:20 +0200 (CEST) Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=cg1lypVG; 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=pass (policy=none) header.from=gnu.org ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1691203941; 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:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=jFjpDppUCp8M7BGMtEtHCXKxEOQrHJO0Vy1HGDmqhlQ=; b=WwfbCYKoIA0VTVQqjm6LsoAHffuS9FrbH3BlFPXkqoVWKgnJHSQ5fAzhVd/BGK/4CylBBU KxAqAtJfOkkvXT3dJ4koc7GeZ7cyvm0V2oXOsX6aB0/fe7z6KXZhTJBab0mg5st3x8Uo5N 7QXQNEVPWG/MYT/FHqP1sG7FYT+0paO2Fr1i2O4TOUBIWNk4ICwKJvUlnUaOL0xQJMOmss EUcT3BN45+o+E5E0x07WPV1M0bW7QyRVVzG4Ahj5eT+afXWrGJGiEipfvO5M8bwUSTY6EH ZdPU1vbbVCJKoYIUtL+44C61WySfsNIsi2Ip6JVT7DkJDTE9WBt7oowKiEseyw== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1691203941; a=rsa-sha256; cv=none; b=Ty+BMxDM2FCq6F4fBys2fCaDijP1bAG66iexk/RCEck8k8TkxJhdnFyFd9dJzzko6wK8M0 C6GPcKYxxh7gI2X9oop5eyqcfCs45UfHRx+SGEh9wtc82W2CEforyj2jyy6In3UOmDPEQV E+MiQGSeWllcyadWOXJoVdBY7r0qMUmKNQpCtknipWB/to15gY6epAi7FJjjlPOiXb7v2C 0sKU4RuEKhtZtZJxv4QYcL0hx2/uu56jMAz1IkMwho6hSP4H7rJcRu1IGaasafec+ctUwz g3He5nHkaIsaDtpRKkNwzFhO68Qi2NMVleizuiJTC0/vjX3DqgGqorDDGlxDIw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=ultrarare.space header.s=dkim header.b=cg1lypVG; 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=pass (policy=none) header.from=gnu.org Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1qS7Oi-0004tg-Nx; Fri, 04 Aug 2023 22:52:08 -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 1qS7Oh-0004tD-6Q for guix-patches@gnu.org; Fri, 04 Aug 2023 22:52:07 -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 1qS7Og-0003RF-4K; Fri, 04 Aug 2023 22:52:06 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1qS7Oc-00018M-Ik; Fri, 04 Aug 2023 22:52:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#65062] [PATCH core-updates 0/1] Specify output in input label when it's not "out". Resent-From: Hilton Chain Original-Sender: "Debbugs-submit" Resent-CC: guix@cbaines.net, dev@jpoiret.xyz, ludo@gnu.org, othacehe@gnu.org, rekado@elephly.net, zimon.toutoune@gmail.com, me@tobias.gr, guix-patches@gnu.org Resent-Date: Sat, 05 Aug 2023 02:52:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 65062 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 65062@debbugs.gnu.org Cc: Hilton Chain , Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice X-Debbugs-Original-To: guix-patches@gnu.org X-Debbugs-Original-Xcc: Christopher Baines , Josselin Poiret , Ludovic =?UTF-8?Q?Court=C3=A8s?= , Mathieu Othacehe , Ricardo Wurmus , Simon Tournier , Tobias Geerinckx-Rice Received: via spool by submit@debbugs.gnu.org id=B.16912038864297 (code B ref -1); Sat, 05 Aug 2023 02:52:02 +0000 Received: (at submit) by debbugs.gnu.org; 5 Aug 2023 02:51:26 +0000 Received: from localhost ([127.0.0.1]:55140 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qS7O1-00017E-Q8 for submit@debbugs.gnu.org; Fri, 04 Aug 2023 22:51:26 -0400 Received: from lists.gnu.org ([2001:470:142::17]:36880) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1qS7O0-00016z-9s for submit@debbugs.gnu.org; Fri, 04 Aug 2023 22:51:24 -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 1qS7Nu-0004i0-Ok for guix-patches@gnu.org; Fri, 04 Aug 2023 22:51:18 -0400 Received: from mail.boiledscript.com ([144.168.59.46]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1qS7Nr-0003K3-Rk for guix-patches@gnu.org; Fri, 04 Aug 2023 22:51:17 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ultrarare.space; s=dkim; t=1691203865; 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; bh=jFjpDppUCp8M7BGMtEtHCXKxEOQrHJO0Vy1HGDmqhlQ=; b=cg1lypVGfj29X3H0zN3IS1pavcRiH47apgoDiAKxT6c40IjNGaRK2ZxlDCYxWqbO7faFM5 X1TfrW2V6q1ldYwdwESmMkxyBbxB1KmXRNUw5UAg+7ZCB4v4rOU16av7UDyqv+AY3FdBh0 rFIr1As7t6ZrOiCMGrIYDaT85Zbq2R+MIRnJuFHQdeT+Cpv401u59z9fFycAA5Qabga4eb wxD9DbPZQQWFtQFomvhkxNt8vVICMmqvbsJBmOa/b97kTlfPPrxNvKPiLsb5Q6StqXuzMS qU2JBNzrsJEaRuGuJfaIsptl4vXQ6LOicyOMG8POrElNolGHuJT4Iq02O0GMGA== Date: Sat, 5 Aug 2023 10:50:32 +0800 Message-ID: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spamd-Bar: + Received-SPF: pass client-ip=144.168.59.46; envelope-from=hako@ultrarare.space; helo=mail.boiledscript.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_HELO_NONE=0.001, SPF_PASS=-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: , Reply-to: Hilton Chain X-ACL-Warn: , Hilton Chain via Guix-patches From: Hilton Chain via Guix-patches via 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-Queue-Id: 61C765F063 X-Migadu-Scanner: mx0.migadu.com X-Migadu-Spam-Score: -4.64 X-Spam-Score: -4.64 X-TUID: 9mXOQOtjaKe8 Hello Guix, Recently I found it not possible to find `(,gcc "lib") in inputs with `this-package-input' since it has the label "gcc" and there're other "gcc"s in the build environment. As we should avoid direct use on input labels, I think the solution is to modify `add-input-label', hence the patch. Taking `aide' from (gnu packages admin) as an example, the current behavior is that both `pcre:static' and `pcre' have the label "pcre", this affects `this-package-input' and `modify-inputs': --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,use (guix packages) scheme@(guix-user)> ,use (gnu packages admin) scheme@(guix-user)> ((@@ (guix packages) add-input-label) (package-inputs aide)) $1 = ("_" ([...] ("pcre" # "static") ("pcre" #) ("zlib" # "static") ("zlib" #))) --8<---------------cut here---------------end--------------->8--- With the patch appiled, `pcre:static' has the label "pcre:static", while `pcre' stays "pcre": --8<---------------cut here---------------start------------->8--- scheme@(guix-user)> ,use (guix packages) scheme@(guix-user)> ,use (gnu packages admin) scheme@(guix-user)> ((@@ (guix packages) add-input-label) (package-inputs aide)) $1 = ("_" ([...] ("pcre:static" # "static") ("pcre" #) ("zlib:static" # "static") ("zlib" #))) --8<---------------cut here---------------end--------------->8--- Thanks Hilton Chain (1): packages: Specify output in input label when it's not "out". guix/packages.scm | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) base-commit: 8852e6bb5521edca099d6f346efc92db3244584c -- 2.41.0