3
0
Fork 0
forked from mirrors/nixpkgs

Fix nodejs

This commit is contained in:
Rob Vermaas 2013-01-07 21:30:57 +01:00
parent c6ff338e27
commit d6571f932f

View file

@ -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
'';