guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Search path for patches


From: Liliana Marie Prikler
Subject: Re: Search path for patches
Date: Sun, 15 Sep 2024 10:04:44 +0200
User-agent: Evolution 3.48.4

Am Freitag, dem 13.09.2024 um 19:33 +0200 schrieb Konrad Hinsen:
> 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.
The search-patch procedure in (gnu packages) – which see – uses the
%patch-path parameter to figure out where patches come from. 
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.

Cheers



reply via email to

[Prev in Thread] Current Thread [Next in Thread]