chicken-hackers
[Top][All Lists]
Advanced

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

Re: Egg install locations (especially binaries) and standardized data di


From: Mario Domenech Goulart
Subject: Re: Egg install locations (especially binaries) and standardized data dirs
Date: Tue, 17 Sep 2024 08:04:42 +0200

Hi Daniel,

On Mon, 16 Sep 2024 22:38:38 +0200 Daniel Ziltener <dziltener@lyrion.ch> wrote:

> My intended fix of the NixOS package for Chicken has evolved into a
> task that is frustratingly somewhat bigger than that
> package. Currently, it looks like there are two "sub-issues" to it.
>
> * the first issue is the installation location for egg
>   binaries. Currently, to my knowledge, binaries get installed to the
>   hardcoded location $CHICKEN_INSTALL_PREFIX/bin. It would be
>   preferrable to make this adjustable, the same way the installation
>   path of egg libraries are. My clunky first idea would be a variable
>   $CHICKEN_INSTALL_BINARY_REPOSITORY. For backwards compatibility, it
>   would probably make sense to set this to $CHICKEN_INSTALL_PREFIX/bin
>   as a default, but letting users override it - e.g. to the
>   standardized $HOME/.local/bin for user installations.

Wouldn't setting CHICKEN_INSTALL_PREFIX to $HOME/.local do the trick?

> * the second issue is smaller and not as important; it concerns the
>   search path for libraries. There was the suggestion that Chicken
>   should check XDG_DATA_DIRS. I don't know those directories well, and
>   it seems like XDG_DATA_DIRS does not contain libraries, but other
>   shared resources by default, so I don't know how that fits the
>   picture. Mentioning it here for completeness' sake.

XDG_DATA_DIRS is normally used to configure system directories, and is
supposed to be used for data files, not libraries, as far as I
understand.

I'm not completely sure I understand what problem you are trying to
solve, though.

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



reply via email to

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