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

[ bug ] Pack fails to build custom version of the Idris compiler #224

Open
stefan-hoeck opened this issue Nov 18, 2022 · 3 comments
Open
Labels
question Further information is requested

Comments

@stefan-hoeck
Copy link
Owner

In order to speed up building the Idris compiler, pack tries to use an already installed version of Idris instead of bootstrapping the hole thing. This works reasonably well with pack switch latest, but fails, if people edit their pack.toml files manually unless they specifically use --bootstrap as a command line option. See also the discussion in #220 .

I'm sure we can be smarter than that.

@buzden
Copy link
Collaborator

buzden commented Nov 18, 2022

That's strange. I set alternative Idris version in local pack.toml files many times, never passed the --bootstrap option and still never ran into this problem. How can this be?

@stefan-hoeck
Copy link
Owner Author

stefan-hoeck commented Nov 18, 2022

That's strange. I set alternative Idris version in local pack.toml files many times, never passed the --bootstrap option and still never ran into this problem. How can this be?

Do you have bootstrap set to true in one of your pack.toml files?

@buzden
Copy link
Collaborator

buzden commented Nov 18, 2022

That's strange. I set alternative Idris version in local pack.toml files many times, never passed the --bootstrap option and still never ran into this problem. How can this be?

Do you have bootstrap set to true in one of your pack.toml files?

No, it is set to false in ~/.pack/user/pack.toml and it is not reset in local ones.

@buzden buzden added the question Further information is requested label Jul 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants