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

Add abitlity to skip binary installation #28

Open
wclr opened this issue Jan 17, 2021 · 0 comments
Open

Add abitlity to skip binary installation #28

wclr opened this issue Jan 17, 2021 · 0 comments

Comments

@wclr
Copy link

wclr commented Jan 17, 2021

It would be useful to have the ability to skip purescript binary installation in certain scenarios.

For example, if the binary is supplied using another method, or just not needed. For example, in my case I have purescript as npm dependency in the project and it is used on host system, also packages declared in project are installed in docker container, but I don't run purs there, though the package should be is installed. But as I use alpine based images installations throws with error. So currently have to use a hacky way to avoid running purescirpt install.

The solution could be not to perform install operation if a env variable i.e. SKIP_INSTALL_PURESCRIPT is set. This is kind a common solution used by packages that require binary which may cause issues just as an example pupeeter uses PUPPETEER_SKIP_CHROMIUM_DOWNLOAD env for such case.

@wclr wclr changed the title Add abitlity to skip installation Add abitlity to skip binary installation Jan 17, 2021
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

No branches or pull requests

1 participant