From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms13.migadu.com with LMTPS id 2GmeAZ9b6GZlJAAAe85BDQ:P1 (envelope-from ) for ; Mon, 16 Sep 2024 16:23:59 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2.migadu.com with LMTPS id 2GmeAZ9b6GZlJAAAe85BDQ (envelope-from ) for ; Mon, 16 Sep 2024 18:23:59 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm1 header.b=xATp8pDy; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="Y QEMlRk"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=fastmail.net ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726503838; 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: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references:list-id:list-help: list-unsubscribe:list-subscribe:list-post:dkim-signature; bh=t98GjsgALnmT+Ugck/9DLihLEO4pHZTCk+8C+Qo5z/Y=; b=VqkGzkBE49+SMGYSqaY+VoHUAWVIjdX3XpQMx+6/SY/zlbmRUBPXG3n9Nb3QjPw+Zjw2td 2olh0kQlByt9pumXVieFSY5RmIPbKeAZnOshzZmMCeYFdykJPS19zWSXvFj9/BfzeSHZAl IalAk6TMHtLeXcJAaN7qaE8/X7YAfk6LK9xL95ATXAroe0qbDvn6hn7PRQ9eqL4hE8ANWd MZHcQ2A6xa3F6j2O8cozKe0MBN61DcTKsffherhh/cYt4FFdIwhDqMqji0C9GTxJ2w7AQ5 dKYzKlhDnh1xqkGmwsVfQMqkPZ1NS27kbiY4/NHufRuC5Vj9rFsNR/EqsBiyZQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726503838; a=rsa-sha256; cv=none; b=dQ9r3FvozMVqHuzTj4JtKACyIC/Zx5tl9sKC1/P7M4oKdtbojY/MPxH2Vhc0OogxXvUBtX hAV6LSTpQhTvu9/9rRFOjcOgMMP2S1iGCpB2Wm7XiIEnI16HWotDhSHhC/sgUGnCjLYZWp zi6xaXe+s5pcqirm8LSXvLRpiUZvMhmP8/b9KYHYG8lj9hN8rY8rBsUaliFwMUvLgl9nCo hTZHMQAPhKfp5LRmMZWF3hJ5rpSpg0RjuVNpaeEAp7lClipTvTQWn2sTanI6N9BCjUXSML 2xXg7o0tMactX0Rm6ptKuupBIn3on0EFiGMJMVuUk8Q7UDyDvgt4UxqLAD/9fQ== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=fastmail.net header.s=fm1 header.b=xATp8pDy; dkim=pass header.d=messagingengine.com header.s=fm1 header.b="Y QEMlRk"; spf=pass (aspmx1.migadu.com: domain of "guix-devel-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-devel-bounces+larch=yhetil.org@gnu.org"; dmarc=pass (policy=none) header.from=fastmail.net 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 DBDBC620DC for ; Mon, 16 Sep 2024 18:23:58 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1sqEVR-0000ih-Hi; Mon, 16 Sep 2024 12:23:17 -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 1sqEVP-0000iY-IA for guix-devel@gnu.org; Mon, 16 Sep 2024 12:23:15 -0400 Received: from fhigh4-smtp.messagingengine.com ([103.168.172.155]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1sqEVN-0003W6-Pl for guix-devel@gnu.org; Mon, 16 Sep 2024 12:23:15 -0400 Received: from phl-compute-06.internal (phl-compute-06.phl.internal [10.202.2.46]) by mailfhigh.phl.internal (Postfix) with ESMTP id 13EE31140344; Mon, 16 Sep 2024 12:23:11 -0400 (EDT) Received: from phl-mailfrontend-02 ([10.202.2.163]) by phl-compute-06.internal (MEProxy); Mon, 16 Sep 2024 12:23:11 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fastmail.net; h= cc:content-transfer-encoding:content-type:content-type:date:date :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to; s=fm1; t=1726503791; x=1726590191; bh=t98GjsgALnmT+Ugck/9DLihLEO4pHZTCk+8C+Qo5z/Y=; b= xATp8pDyk3hGWGhmCoxIh7toYXMyrZL2nDCRPp6pae3Nbq5pBU9fMz+0s5erap0X 18gvGhk43xsXlUUzXMuvSM2yqRm1LbHbAn1cqw/UwIUJn3n8/UcXDk5GtQWeE85S 8CJdxO+ixRQs8S0Kx1sr07ZmTvfltzqeHKYgvuMFOXmjugcW4apZye1FQoyXdiYJ liBxiQ8YgIE4+aIJ0QPlcNerTkM9YQTaxxetE2JYIiLgRxRM764icCEw4nuIuwN0 NY/AdJFg7yT7ZNRQk3xB4etXOkSzregcMMh2ddY7V6DLACdJlpDOhVaZi8I7h3if SyutWRHrd3ZXrvYChhYWWA== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :content-type:date:date:feedback-id:feedback-id:from:from :in-reply-to:in-reply-to:message-id:mime-version:references :reply-to:subject:subject:to:to:x-me-proxy:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; t=1726503791; x= 1726590191; bh=t98GjsgALnmT+Ugck/9DLihLEO4pHZTCk+8C+Qo5z/Y=; b=Y QEMlRkza3sqSWio4j7q0YA/KDQ69WQQA3BursvIcZgrTkN4Sc5xGpPT+yqcv5l9F 5HTRyVo0RPOJAKMJMRRi9t8Qcw+KVCP2vJ1mGOonnIkmi82r62g072FPOb+HtCMd yxAmOyf35sFJ/HZirdNDdnQvaEB6O/Ozz92fHPcmwnz5vlBQ6RBNzWoMpzz+jduP cvMpKNHMV5UE/rfcBkvOAXL6OpQExBg26BR2muqNZiyM6UahQeAJfgWOknTbLzMk neJtu5cV1qXo9VUYapmyhv3cVBgRpRJe3qQEhVJluFAsHN1LIny9J14RUmKNx25t xXEhS24GKgjBHxa2Wz7FA== X-ME-Sender: X-ME-Received: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeeftddrudekhedgleekucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdggtfgfnhhsuhgsshgtrhhisggvpdfu rfetoffkrfgpnffqhgenuceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnh htshculddquddttddmnecujfgurhephffvufgjfhffkfggtgfgsehtqhertddttdejnecu hfhrohhmpefmohhnrhgrugcujfhinhhsvghnuceokhhonhhrrggurdhhihhnshgvnhesfh grshhtmhgrihhlrdhnvghtqeenucggtffrrghtthgvrhhnpeevheelveegjeduvdfgudei feevteffvdetgeefkefgudeujeefgedvheegkefhjeenucevlhhushhtvghrufhiiigvpe dtnecurfgrrhgrmhepmhgrihhlfhhrohhmpehkohhnrhgrugdrhhhinhhsvghnsehfrghs thhmrghilhdrnhgvthdpnhgspghrtghpthhtohepfedpmhhouggvpehsmhhtphhouhhtpd hrtghpthhtohepsggttgeskhhhihhnshgvnhdrfhgrshhtmhgrihhlrdhnvghtpdhrtghp thhtohepghhuihigqdguvghvvghlsehgnhhurdhorhhgpdhrtghpthhtoheplhhilhhirg hnrgdrphhrihhklhgvrhesghhmrghilhdrtghomh X-ME-Proxy: Feedback-ID: i184641e2:Fastmail Received: by mail.messagingengine.com (Postfix) with ESMTPA; Mon, 16 Sep 2024 12:23:09 -0400 (EDT) From: Konrad Hinsen To: Liliana Marie Prikler , guix-devel@gnu.org Subject: Re: Search path for patches In-Reply-To: <32b7c48861055a6c07df27c66de32f059e8469f0.camel@gmail.com> References: <32b7c48861055a6c07df27c66de32f059e8469f0.camel@gmail.com> Date: Mon, 16 Sep 2024 18:23:08 +0200 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Received-SPF: pass client-ip=103.168.172.155; envelope-from=konrad.hinsen@fastmail.net; helo=fhigh4-smtp.messagingengine.com X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 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, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: guix-devel@gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+larch=yhetil.org@gnu.org Sender: guix-devel-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Scanner: mx12.migadu.com X-Migadu-Spam-Score: -10.69 X-Migadu-Queue-Id: DBDBC620DC X-Spam-Score: -10.69 X-TUID: 8HuAK8xOdq3G Hi Liliana, Thanks for your suggestions! > The search-patch procedure in (gnu packages) =E2=80=93 which see =E2=80= =93 uses the > %patch-path parameter to figure out where patches come from.=20 > Typically, you'd place patches in the root directory, or somewhere > within your GUILE_LOAD_PATH to have them picked up, but I do recommend > writing your own (search-patch) or parameterizing %patch-path if you > want to place them in a special location. The second technique (parameterizing) is what Nicolas proposed as well. It's fine for a small number of packages requiring patches (my case so far), but a bit verbose if used frequently. Writing my own search-patch has the advantage of being done once for the whole channel. Maybe I'll end up doing that. Cheers, Konrad.