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
nodejs: ship with development headers #35568
Conversation
Failure on aarch64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
The nodejs package already has an /include/node folder but it's missing some files:
Maybe there is a way to generate those at build time.. |
09c1af2
to
25548f7
Compare
Provide all the development headers to node-gyp
25548f7
to
420517a
Compare
@GrahamcOfBorg build nodejs |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Failure on x86_64-darwin (full log) Partial log (click to expand)
|
@GrahamcOfBorg build nodejs |
Success on aarch64-linux (full log) Partial log (click to expand)
|
Success on x86_64-darwin (full log) Partial log (click to expand)
|
Success on x86_64-linux (full log) Partial log (click to expand)
|
Provide all the development headers to node-gyp
Motivation for this change
the headers are used by node-gyp to build C extensions and need to match
the exact node version that is going to be used at runtime.
This allows to install the headers in other node build environment like yarn2nix
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)