From d6571f932f73724b9fa333a5f98a9489385f534b Mon Sep 17 00:00:00 2001 From: Rob Vermaas Date: Mon, 7 Jan 2013 21:30:57 +0100 Subject: [PATCH] Fix nodejs --- pkgs/development/web/nodejs/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/development/web/nodejs/default.nix b/pkgs/development/web/nodejs/default.nix index 42fad7d7deb4..533411b92de3 100644 --- a/pkgs/development/web/nodejs/default.nix +++ b/pkgs/development/web/nodejs/default.nix @@ -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 '';