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

Also install etc directory #479

Merged
merged 1 commit into from
Apr 23, 2019
Merged

Also install etc directory #479

merged 1 commit into from
Apr 23, 2019

Conversation

mfdj
Copy link
Contributor

@mfdj mfdj commented Apr 1, 2019

When installing nodenv via Homebrew I noticed that node-build dependency didn't include the install hook added by #455.

This PR attempts to rectify this.

Not sure if the convention is correct but I took a stab at it and included the etc folder in the install script because it's used by the Homebrew formulae:

https://github.com/Homebrew/homebrew-core/blob/4516ee029aac77079a6b1368d8d5402ed573a94b/Formula/node-build.rb#L14-L17

@mfdj
Copy link
Contributor Author

mfdj commented Apr 1, 2019

@jasonkarns if this looks good then I think it would be a nice addition would be to surface the NODENV_HOOK_PATH and NODENV_PREFIX_RETRY during install?

I was thinking either as part of the node-build install script or maybe just as part of the Homebrew formulae. LMK if you have a preference.

@jasonkarns
Copy link
Member

@mfdj thank you for this!!!

Gonna think a bit more on the env-var "notes" in your comment. Would you mind opening a separate issue for that?

@jasonkarns jasonkarns merged commit b414ec3 into nodenv:master Apr 23, 2019
mfdj added a commit to mfdj/node-build that referenced this pull request Dec 21, 2021
@mfdj
Copy link
Contributor Author

mfdj commented May 31, 2023

Would love to land this related follow on :-D #721

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.

2 participants