Re: [PATCH] Add binary version to cache path to avoid multiple chicken installations using the same location
Felix Winkelmann via Chicken-users <[email protected]>
| Newsgroups | gmane.lisp.scheme.chicken |
|---|---|
| Message-ID | <[email protected]> |
On Sun Oct 26, 2025 at 11:41 AM CET, Lilianna Smólska via Chicken-users wrote: > I don't know whether this patch is needed at all, maybe chicken-install detects differing versions of eggs automagically? I'm not familiar with its internals – but I have multiple chicken versions installed alongside each other and noticed that they all use the same ~/.cache/chicken-install/ directory. This patch makes chicken 6 instead use ~/.cache/chicken-install/12/, which is also future-proof for changing binary-version values. > I'm not sure how to get the email service I use to work with git, so I am attaching a plain diff below and as a MIME attachment. Hi! Sorry for the late reply... We make sure that cached files are invalidated when the options, linker paths, installation prefix or build ID (effectively the git commit) differ, so the binary version is not needed to differentiate between versions. Your concern is of course valid, but I think that the current way it is handled should be sufficient. cheers, felix