Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: hermit chokes when global install dir is an env #439

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

nickajacks1
Copy link
Contributor

Hermit expects files in the bin folder of an environment to be symlinked to "hermit". This is not the case in the global install dir, where hermit itself is by default symlinked to "hermit-stable". Add "hermit-stable" and "hermit-canary" to the allow-list.

Fixes: #401

Hermit expects files in the bin folder of an environment to be symlinked
to "hermit". This is not the case in the global install dir, where
hermit itself is by default symlinked to "hermit-stable". Add
"hermit-stable" and "hermit-canary" to the allow-list.

Fixes: cashapp#401
@alecthomas
Copy link
Collaborator

Unfortunately this won't work for Hermit's that extend the base Hermit. eg. internally at Block we have hermit-square. I don't think installing over the home directory should be a supported use case, unless we move the global Hermit somewhere else. In hindsight I should have put it in ~/.local/hermit/bin, but alas...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Home cannot be used as project folder
2 participants