forked from mirrors/nixpkgs
Fix nodejs
This commit is contained in:
parent
c6ff338e27
commit
d6571f932f
|
@ -25,7 +25,7 @@ stdenv.mkDerivation rec {
|
|||
|
||||
postInstall = ''
|
||||
|
||||
$sed -e 's|^#!/usr/bin/env node$|#!'$out'/bin/node|' -i $out/lib/node_modules/npm/bin/npm-cli.js
|
||||
sed -e 's|^#!/usr/bin/env node$|#!'$out'/bin/node|' -i $out/lib/node_modules/npm/bin/npm-cli.js
|
||||
'' + stdenv.lib.optionalString stdenv.isDarwin ''
|
||||
install_name_tool -change libv8.dylib ${v8}/lib/libv8.dylib $out/bin/node
|
||||
'';
|
||||
|
|
Loading…
Reference in a new issue