mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-27 05:43:50 +03:00
buildNodePackage: Fix $out/bin symlink
Signed-off-by: Shea Levy <shea@shealevy.com>
This commit is contained in:
parent
8525695a72
commit
5c66a46bc6
@ -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 | \
|
||||
|
Loading…
Reference in New Issue
Block a user