-
-
Notifications
You must be signed in to change notification settings - Fork 212
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
Pass environment variables to prebuild-install #329
Conversation
Also, once this PR is merged, would it be possible to increment the package version by a bug fix and publish to NPM? |
do we want to pass all the |
easier than "simple made easy" by Rich Hickey https://www.youtube.com/watch?v=34_L7t7fD_U Aren't Passing |
@reqshark I think we should pass the entirety of
|
ok this change should be included in the next release |
Is it possible to get this merged in? It's currently very difficult to include this module as part of a project when running behind a corporate proxy. |
The latest 6.0 beta release includes all prebuilt binaries in the NPM package and does not need to download anything on supported platforms during install. It would be great if you could try it out! The new version has a new API that addresses some fundamental issues with the previous API, but it does include a compatibility layer that should make upgrading easier. See #189 for the reasoning behind the new API. I'll leave this open because this change could still be included in the 5.x branch. |
Thanks, but we have switched from prebuild-install to prebuildify |
Per the
prebuild-install
documentation, end users should be able to pass environment variables to change whereprebuild
looks for its binaries. Currently,scripts/prebuild-install.js
filters out these variables. This PR passes them on.