From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 4BHYAxuUTWdckwAA62LTzQ:P1 (envelope-from ) for ; Mon, 02 Dec 2024 11:03:55 +0000 Received: from aspmx1.migadu.com ([2001:41d0:403:4876::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4BHYAxuUTWdckwAA62LTzQ (envelope-from ) for ; Mon, 02 Dec 2024 12:03:55 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FHfVxNVR; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HW/+ixZ4"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Seal: i=1; s=key1; d=yhetil.org; t=1733137434; a=rsa-sha256; cv=none; b=cXXf4Sktvv4pAvzUlsdv6VAtEHbedGUPEOaPjbPm+mIRFL7HaEM6vhJGzaJ0e8L15IW1zT kLNz05s1HWxMuqYTYnOEgyyNrLgQOOOKZTdgYZUbuiRV73b0aevTZqT1lC4P+c+zeLQ4iG WdRKS4JreCkvObeWJzjQ6THqJ0VzJcOIa4uDx1Kowwz6P053aD4zBGEOGNlf0CR5UnMBOF uL9cWcT/XGJN7EzCWVai38II2sh9aJg2rjUrE4Ybf5F1a751ZQZtdzxxEJFWTVotA58kOG WPPCu/aIY0KiigUw7iEh9NEGDwXetGp2193vmrnYSspoVCRe6EGEkK8gMd/Bmg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=debbugs.gnu.org header.s=debbugs-gnu-org header.b=FHfVxNVR; dkim=fail ("headers rsa verify failed") header.d=gnu.org header.s=fencepost-gnu-org header.b="HW/+ixZ4"; dmarc=pass (policy=none) header.from=gnu.org; 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" ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1733137434; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-to: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=QYbOj+6kZIjP9KXqWw4yOdtJyRkSDK82RtAjFQnQSyI=; b=hu79YxfuijA8RM78gIzG4QOPXeH9g9jtnaKpfDHFpTlNTs24zTFuJ5JvcGu0gz3NMnL9dD AkJPkjiZkFfFplpTnewSD5hlCpmGHRbOBM9Hz7s4wddeISx0klvQo7F/738anIzocp4K6g tuiB79VBG5isaSpm9dgQUG6kBQqq1Vt3zLhBbjz8D9cPpIKr6l3bLPpkHA66ccKbS7OF0r CUpyNowkQZuVFTru7q6JiN9R/CzNrGqFsP0rZxQjExQgiwTTYRhQ7+aQEMq/THwUebH3b2 7KX7CvftLZQ14o9C3CrheFzVswrOlzOarcXfPbY5TBmC/PHglsvi+95QJQKxxA== 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 D140670CF0 for ; Mon, 02 Dec 2024 12:03:54 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1tI4Cu-0003wt-SK; Mon, 02 Dec 2024 06:03:12 -0500 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 1tI4Cn-0003va-6P for guix-patches@gnu.org; Mon, 02 Dec 2024 06:03:05 -0500 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 1tI4Cl-00047a-H8 for guix-patches@gnu.org; Mon, 02 Dec 2024 06:03:04 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:References:In-Reply-To:From:To:Subject; bh=QYbOj+6kZIjP9KXqWw4yOdtJyRkSDK82RtAjFQnQSyI=; b=FHfVxNVRr0M8z5S9XdwYSHDS3u0U0egWd4dteOGgGscTNfuuScQyPCc9XUHh68G5R3M8kNGkowJRxRXfi0Mcdfj9BnKEWhabDqHK93pgS0opmI3rLp3yw+HGwnBlkHH1ZuR/+J1E1Klr7eg/XUUcH1vdIZwZ8rPTWpY1D4g5JT8QePJU9Xjo21XRaBR+j20RkG0ahQDL4rFgdufdVfDPKaa1OaQd3ldXcB/YrLJz1jyX/15GSAWgI1fM254vxOB/GEbvhAPpPkVVU6dkg7+BSHCp12O8atsTnF/uB3AAni6IBpiNRWCaANJbld8BBWxM6SlMMc7YLJWl2YgpzPastw==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1tI4Ck-0000oX-Cb for guix-patches@gnu.org; Mon, 02 Dec 2024 06:03:02 -0500 Subject: bug#74475: [PATCH core-team] packages: 'package-input-rewriting/spec' optionally replace hidden. Resent-From: Ludovic =?UTF-8?Q?Court=C3=A8s?= Original-Sender: "Debbugs-submit" Resent-To: guix-patches@gnu.org Resent-Date: Mon, 02 Dec 2024 11:03:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: cc-closed 74475 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Greg Hogan Cc: Josselin Poiret , Maxim Cournoyer , Simon Tournier , Mathieu Othacehe , Tobias Geerinckx-Rice , 74475-done@debbugs.gnu.org, Christopher Baines Mail-Followup-To: 74475@debbugs.gnu.org, ludo@gnu.org, code@greghogan.com Received: via spool by 74475-done@debbugs.gnu.org id=D74475.17331373713103 (code D ref 74475); Mon, 02 Dec 2024 11:03:02 +0000 Received: (at 74475-done) by debbugs.gnu.org; 2 Dec 2024 11:02:51 +0000 Received: from localhost ([127.0.0.1]:54411 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI4CY-0000ny-UP for submit@debbugs.gnu.org; Mon, 02 Dec 2024 06:02:51 -0500 Received: from eggs.gnu.org ([209.51.188.92]:40154) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1tI4CW-0000nc-99 for 74475-done@debbugs.gnu.org; Mon, 02 Dec 2024 06:02:48 -0500 Received: from fencepost.gnu.org ([2001:470:142:3::e]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1tI4CO-0003yY-3e; Mon, 02 Dec 2024 06:02:40 -0500 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=gnu.org; s=fencepost-gnu-org; h=MIME-Version:Date:References:In-Reply-To:Subject:To: From; bh=QYbOj+6kZIjP9KXqWw4yOdtJyRkSDK82RtAjFQnQSyI=; b=HW/+ixZ4/H8QYHIioaf9 QFMHeEXwhSrZU6P/fN0Le1FYzaAQps3tbU9JE8bj4HQVApOdfhzixpZDGNJzYjneS6cvhMjz2eZks jId4iTGK57q1rXkN5FKuXNwBNlp8nAbBLWCGfGMh7cFWVM1LxjlDNsxH1pZhSJQO/eP7CCnP7SEhO pFDTJNdg411F8rBXBXoE+eTKaM52MP27xSQB2Hm8ZzfXivL4ReL/bCpmThnNoMWnqHD5dLjWUPKg8 ep1Uh2+4n7ftO8B9BlOLpw7+kWBgEi3D4z8A+7G3e9teaw0sIOdfa59YmLamMdrhvcK0YYZb8a30r DTsLGoe/2QHtQg==; From: Ludovic =?UTF-8?Q?Court=C3=A8s?= In-Reply-To: <7daac6d4cf5c0934236b37b39a112971a0ee0610.1732284490.git.code@greghogan.com> (Greg Hogan's message of "Fri, 22 Nov 2024 14:29:39 +0000") References: <7daac6d4cf5c0934236b37b39a112971a0ee0610.1732284490.git.code@greghogan.com> Date: Mon, 02 Dec 2024 12:02:06 +0100 Message-ID: <87zflewdox.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) MIME-Version: 1.0 Content-Type: text/plain 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-Country: US X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -3.22 X-Spam-Score: -3.22 X-Migadu-Queue-Id: D140670CF0 X-Migadu-Scanner: mx10.migadu.com X-TUID: V4wnZPFeDss7 Greg Hogan skribis: > Commit eee95b5a879b7096dffd533f24107cf8926b621e changed package > rewriting to ignore hidden packages. This patch permits the previous use > by adding an option to rewrite hidden packages. > > * guix/packages.scm (package-input-rewriting/spec)[rewrite]: When P is > hidden, return it as-is unless #:replace-hidden? has been enabled. > * tests/packages.scm ("package-input-rewriting/spec, replace hidden > package"): New test. > * doc/guix.texi (Defining Package Variants): Update. > > Change-Id: I0a7988cac70e0c6b88b0fe6e27c1036fa723e030 Applied, thanks!