guix-devel
[Top][All Lists]
Advanced

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

Re: Search path for patches


From: Konrad Hinsen
Subject: Re: Search path for patches
Date: Mon, 16 Sep 2024 18:23:08 +0200

Hi Liliana,

Thanks for your suggestions!

> 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.

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.



reply via email to

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