From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp0.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 OPmoL0+35GZZHQEAqHPOHw:P1 (envelope-from ) for ; Fri, 13 Sep 2024 22:06:07 +0000 Received: from aspmx1.migadu.com ([2001:41d0:303:e224::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp0.migadu.com with LMTPS id OPmoL0+35GZZHQEAqHPOHw (envelope-from ) for ; Sat, 14 Sep 2024 00:06:07 +0200 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Msw1Fyrg; 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=reject) header.from=ngraves.fr ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1726265167; 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:in-reply-to:in-reply-to: references:references:list-id:list-help:list-unsubscribe: list-subscribe:list-post:dkim-signature; bh=9fRjG1QoDd1FR9Xpc5p8JVR1DtGD+TW5muRkw5HIP9Q=; b=H8Deh3Nzf0UI2T8LO9WaTuTNOzC5RKe5AjCRKVyJW3dNls0DXjOILc3WyyysrZUz41+scG XoCGstYYDFrVr2aYeho5B/hmPplc0fXjSNEATfbFpZaEAzuq5yudGC+q0tenhi7LFcFbG7 ULjWO9+3Sd2mZyBK993IILDqZnx8AsyUraJZBLO21hAG/p00+b/qB4K9/K3iW6Gsdrirg1 SvNT2lNaFHX7J8VTt5Ay5icovm6OmFjinXLNFIP+SLlWUgFVNyVlMjGEqYLcw3NOUqwUmU hMFRgdQ7fx48nlAAk6C3xmdR42hSG6XFPS6uZ73kAhIDa1FD/GBse7apzkovDA== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1726265167; a=rsa-sha256; cv=none; b=M8hPFIALtXCCGPXp8zNRM3mE6uJbaR7gs5y5uKp6sFj4qqZbvQ90Y1oEXtA8u9OTZ07hqL G9AHbfABT3pCzKxTjieCdfAeVGG0QnAu16njusgfN2Ox9YBzsWI8BgArcA5fJS7jqXmUuO BtyA+5cEs3H1DdohfAxHXjl9O+RVExB3KqHAqUgNi2O6TJBFS4QycAu2tTZDSEii6BrC+Z dliwYUzRPyUOQzORJmuNwAU1CK72H7m9aZiX+KQ91hT0JXVQbY2k4XxGJx6b5lWmiiuu8r BhRqyJ0D3TYs21hrZhpvUN1yvijPBEWjnjb5qb6GOO3QX6Jw6wnQ+DOIFxNyVg== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=pass header.d=ngraves.fr header.s=ovhmo4487190-selector1 header.b=Msw1Fyrg; 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=reject) header.from=ngraves.fr 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 6BA557F7DD for ; Sat, 14 Sep 2024 00:06:07 +0200 (CEST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1spEPu-0000iE-JX; Fri, 13 Sep 2024 18:05:26 -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 1spEPp-0000hs-M2 for guix-devel@gnu.org; Fri, 13 Sep 2024 18:05:22 -0400 Received: from 3.mo584.mail-out.ovh.net ([46.105.57.129]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1spEPl-00029n-Gv for guix-devel@gnu.org; Fri, 13 Sep 2024 18:05:20 -0400 Received: from director10.ghost.mail-out.ovh.net (unknown [10.109.176.118]) by mo584.mail-out.ovh.net (Postfix) with ESMTP id 4X57ds1clPz1MyJ for ; Fri, 13 Sep 2024 22:05:05 +0000 (UTC) Received: from ghost-submission-55b549bf7b-9xrgt (unknown [10.108.54.55]) by director10.ghost.mail-out.ovh.net (Postfix) with ESMTPS id 7AD871FD26; Fri, 13 Sep 2024 22:05:04 +0000 (UTC) Received: from ngraves.fr ([37.59.142.104]) by ghost-submission-55b549bf7b-9xrgt with ESMTPSA id ANmKDRC35GZ6sgsAPW1JHg (envelope-from ); Fri, 13 Sep 2024 22:05:04 +0000 X-OVh-ClientIp: 86.246.19.221 From: Nicolas Graves To: Konrad Hinsen , Guix Devel Subject: Re: Search path for patches In-Reply-To: References: Date: Sat, 14 Sep 2024 00:05:03 +0200 Message-ID: <87seu3nrao.fsf@ngraves.fr> MIME-Version: 1.0 Content-Type: text/plain X-Ovh-Tracer-Id: 13191324785213170229 X-VR-SPAMSTATE: OK X-VR-SPAMSCORE: -100 X-VR-SPAMCAUSE: gggruggvucftvghtrhhoucdtuddrgeeftddrudejledgtdeiucetufdoteggodetrfdotffvucfrrhhofhhilhgvmecuqfggjfdpvefjgfevmfevgfenuceurghilhhouhhtmecuhedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmnecujfgurhephffvufgjfhffkfggtgesthdtredttddttdenucfhrhhomheppfhitgholhgrshcuifhrrghvvghsuceonhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrqeenucggtffrrghtthgvrhhnpeeijefgffffudeivefgudeihfdtgfeljefhvdevhfegkeejvedthfdtfeeljeehgfenucfkphepuddvjedrtddrtddruddpkeeirddvgeeirdduledrvddvuddpfeejrdehledrudegvddruddtgeenucevlhhushhtvghrufhiiigvpedtnecurfgrrhgrmhepihhnvghtpeduvdejrddtrddtrddupdhmrghilhhfrhhomhepnhhgrhgrvhgvshesnhhgrhgrvhgvshdrfhhrpdhnsggprhgtphhtthhopedupdhrtghpthhtohepghhuihigqdguvghvvghlsehgnhhurdhorhhgpdfovfetjfhoshhtpehmohehkeegpdhmohguvgepshhmthhpohhuth DKIM-Signature: a=rsa-sha256; bh=9fRjG1QoDd1FR9Xpc5p8JVR1DtGD+TW5muRkw5HIP9Q=; c=relaxed/relaxed; d=ngraves.fr; h=From; s=ovhmo4487190-selector1; t=1726265105; v=1; b=Msw1FyrgjW5MfX5QPVOfMeqIvwJcrp/bYKXLeMV0d0S1TR9IY5Z2/c345TKJrDb/61HavlVA lcfvHEE1VNuGjLpHRO5r1H777bmRQrx4PqeA43aCxSpHcNP+aYAzgU7S9gmjfzJUCt2NUMBmYt7 CfR37A7Fm73rzosSWJl8Y9MONvt/jqNqg6AKKjwyUOlTvhqA7xcAQIGt9cX59bWn+PP58M5JzRz 3UjyYeMtT+jPjBe+VYAcA5GIolNEhkXhB85GB0xeCJX9TeDc7z9Tn5XgnRWEQe8FYHwXOc3JMMr bYMFzwb++MTL2StyK86e6oAd87Lm8u1quc5NfKGAV+/hg== Received-SPF: pass client-ip=46.105.57.129; envelope-from=ngraves@ngraves.fr; helo=3.mo584.mail-out.ovh.net X-Spam_score_int: -7 X-Spam_score: -0.8 X-Spam_bar: / X-Spam_report: (-0.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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=0.001, RCVD_IN_MSPIKE_WL=0.001, RCVD_IN_VALIDITY_RPBL=1.31, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=no 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: -9.83 X-Migadu-Queue-Id: 6BA557F7DD X-Spam-Score: -9.83 X-TUID: bT5eWHEaJWt3 On 2024-09-13 19:33, Konrad Hinsen wrote: > Hi everyone, > > I have been searching for a while, without much success, so I am trying > to tap into your collective wisdom: What's the search path used by > search-patches? > > More precisely, where do I have to put patches > 1. In a channel? > 2. In a directory added to GUIX_PACKAGE_PATH/GUILE_LOAD_PATH? > > The main Guix channel has a "patches" directory inside "packages". The > channel guix-science has it at the root. For my own channel that I am > trying to set up, neither seems to work so far. Not a direct answer, but I use the approach I've found in guixrus: (patches (parameterize ((%patch-path (map (lambda (directory) (string-append directory "/guixrus/packages/patches")) %load-path))) (search-patches ;;patches created from github issues "lxappearence-gtk3-01-only-do-x11-on-x11.patch" "lxappearence-gtk3-02-set-some-settings-gsettings.patch"))) This is allows you to put patches quite conveniently in a channel. -- Best regards, Nicolas Graves