mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-07-06 17:13:24 -05:00
nodejs: fix dev output
This commit is contained in:
parent
0ecde18f90
commit
e76c689a3d
1 changed files with 4 additions and 1 deletions
|
|
@ -479,7 +479,7 @@ let
|
|||
''}
|
||||
|
||||
# install the missing headers for node-gyp
|
||||
# TODO: add dev output and use propagatedBuildInputs instead of copying headers.
|
||||
# TODO: use propagatedBuildInputs instead of copying headers.
|
||||
cp -r ${lib.concatStringsSep " " copyLibHeaders} $out/include/node
|
||||
|
||||
# assemble a static v8 library and put it in the 'libv8' output
|
||||
|
|
@ -510,6 +510,9 @@ let
|
|||
Libs: -L$libv8/lib -lv8 -pthread -licui18n -licuuc
|
||||
Cflags: -I$libv8/include
|
||||
EOF
|
||||
''
|
||||
+ lib.optionalString (stdenv.hostPlatform == stdenv.buildPlatform) ''
|
||||
cp -r $out/include $dev/include
|
||||
'';
|
||||
|
||||
passthru.tests = {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue