about summary refs log tree commit diff
path: root/pkgs/development/web
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2013-07-28 11:46:40 -0400
committerShea Levy <shea@shealevy.com>2013-07-28 11:46:40 -0400
commit5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7 (patch)
tree3b0841cbe5f96ec9da03b21a77a91ffac98ec13d /pkgs/development/web
parent8525695a72743ce694a91abfc011ecfaca9f32c6 (diff)
downloadnixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar.gz
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar.bz2
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar.lz
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar.xz
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.tar.zst
nixlib-5c66a46bc6f4cffd993763e0b80203ff4f5a8ba7.zip
buildNodePackage: Fix $out/bin symlink
Signed-off-by: Shea Levy <shea@shealevy.com>
Diffstat (limited to 'pkgs/development/web')
-rw-r--r--pkgs/development/web/nodejs/build-node-package.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/development/web/nodejs/build-node-package.nix b/pkgs/development/web/nodejs/build-node-package.nix
index 27e114ee40bc..5c080ee315a8 100644
--- a/pkgs/development/web/nodejs/build-node-package.nix
+++ b/pkgs/development/web/nodejs/build-node-package.nix
@@ -41,7 +41,7 @@ stdenv.mkDerivation ({
     rm -fR $out/lib/node_modules/${requireName}/node_modules
     mv node_modules $out/lib/node_modules/${requireName}
     if [ -d "$out/lib/node_modules/.bin" ]; then
-      ln -sv node_modules/.bin $out/bin
+      ln -sv $out/lib/node_modules/.bin $out/bin
       node=`type -p node`
       coffee=`type -p coffee || true`
       find -L $out/lib/node_modules/.bin/* -type f -print0 | \