-
Notifications
You must be signed in to change notification settings - Fork 375
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
Bootstrapped Idris2 fails to resolve paths when IDRIS2_PREFIX
is manually set
#3022
Comments
Might it be that PATH should point to
? : ) |
Latest |
...oh, must've mistyped, thanks for finding out. it doesn't seem to work after changing PATH, tho.
I'm bootstrapping idris2 from source |
was finally able to build by explicitly setting
|
As noted on discord, I have experienced this before. In my case, setting |
IDRIS2_PREFIX
is manually set
@scarf005 are we good to close this in that case? : ) |
Well it's a major bug in bootstrap process so i doubt we should. I'm planning to open a PR (when i get some time) |
Sorry for the slow reply, I was triple-checking, because that's a bizarre error! Thanks for catching that!
I believe I've fixed it, although I'm not fluent enough in Make to understand why. I'll push in a mo : ) |
Original issue spotted and reported by scarf005 and Stefan Höck. For some reason, using `:=` instead of `?=` in the Makefile causes the second part of bootstrapping to fail. So the fix is to use `?=`. Fixes idris-lang#3022
We've modified the environment variables, but nobody seemingly bothered updating the docs. Discovered as part of idris-lang#3022
As well as the envvars doc update.
Thanks for the bug report & the investigation! |
Summary
Idris2 bootstrapped from source (commit 23694c7) with custom environment variables cannot resolve dependency paths.
environment
environment variables (followed from official docs)
IDRIS2_PREFIX: /home/scarf/.local/share/idris2
PACK_DIR: /home/scarf/.local/share/pack
PATH: /home/scarf/.idris2/bin /home/scarf/.pack/bin # ...
scheme version: 9.5.9 (built from source with threads enabled)
OS: Kubuntu 23.04 x86_64
Shell: fish 3.6.0
build log
build.3.log
The text was updated successfully, but these errors were encountered: