-
-
Notifications
You must be signed in to change notification settings - Fork 15.4k
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: add headers output #36910
nodejs: add headers output #36910
Conversation
Success on aarch64-linux (full log) Attempted: nodejs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: nodejs Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: nodejs Partial log (click to expand)
|
@globin did my changes get reverted? the headers should already be available in |
@@ -87,6 +94,9 @@ in | |||
|
|||
# install the missing headers for node-gyp | |||
cp -r ${concatStringsSep " " copyLibHeaders} $out/include/node |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
actually they are already here in $out
60a44df
to
2abfbcb
Compare
Success on aarch64-linux (full log) Attempted: nodejs Partial log (click to expand)
|
Success on x86_64-linux (full log) Attempted: nodejs Partial log (click to expand)
|
Success on x86_64-darwin (full log) Attempted: nodejs Partial log (click to expand)
|
Thanks as @zimbatm pointed out this is not needed, for yarn2nix's
|
Motivation for this change
These headers are needed when building npm modules that include natively compiled code.
They can now be accessed with
nodejs.headers
.See i.e. #35334
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)cc @manveru @zimbatm @domenkozar @rvl @cleverca22
cc @fpletz @vcunat for potential backporting candidate