hermit icon indicating copy to clipboard operation
hermit copied to clipboard

Collisions between different hermit distributions

Open swankjesse opened this issue 10 months ago • 1 comments

My company uses a private internal-only Hermit.

We’ve had problems caused by running the public hermit and our internal hermit on the same machine. In particular, some package names collide, so we get the public OpenJDK when expecting our internal packaging of OpenJDK.

I’d like for Hermit to prevent such collisions from causing us grief. Perhaps by namespacing packages on the filesystem using a hash? Instead of pkg/k9s-0.27.4/ it would be something like pkg/9s-0.27.4-a5c4faa30.

We’re currently working around this problem by setting an environment variable on CI builds where this problem is most pronounced:

export HERMIT_STATE_DIR=$HOME/Library/Caches/hermit-square

swankjesse avatar Oct 04 '23 21:10 swankjesse