chicken-hackers
[Top][All Lists]
Advanced

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

Re: [PATCH] deprecate chicken-home


From: Mario Domenech Goulart
Subject: Re: [PATCH] deprecate chicken-home
Date: Sun, 28 Jan 2024 18:29:31 +0100

Hi,

On Mon, 22 Jan 2024 21:55:50 +0100 felix.winkelmann@bevuta.com wrote:

> Currently "chicken-home" can be used to obtain the location for
> sundry "data" files installed by eggs and usually required at runtime.
> This location may need to be changed when installing eggs into
> custom locations or when a CHICKEN installation via package
> manager uses a non-writable directory.
>
> The attached patch deprecates "chicken-home" in favor of using
> the include-path, which is already changable (via environment
> variable) and also can hold several locations which makes it possible
> to have a set of possible locations, probably in addition to the
> default system directory (usually $PREFIX/share/chicken),
> quite similar to the repository-path.
>
> This patch addes "include-path" as a quasi-replacement for
> "chicken-home" (also chicken.platform module). Eggs that want to
> operate on installed data files at run-time should use "include-path"
> from now on to locate any files, or, if they wish to be backwards
> compatible, can access the variable "##sys#include-pathnames"
> as a temporary workaround.

Thanks, Felix.  Pushed.

All the best.
Mario
-- 
http://parenteses.org/mario



reply via email to

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