[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Egg install locations (especially binaries) and standardized data dirs
From: |
Daniel Ziltener |
Subject: |
Egg install locations (especially binaries) and standardized data dirs |
Date: |
Mon, 16 Sep 2024 22:38:38 +0200 |
User-agent: |
Mozilla Thunderbird |
Hi fellow hackers!
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.
* 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.
zilti
OpenPGP_0xB38976E82C9DAE42.asc
Description: OpenPGP public key
OpenPGP_signature.asc
Description: OpenPGP digital signature
- Egg install locations (especially binaries) and standardized data dirs,
Daniel Ziltener <=