luajit: symlink missing lua.hpp

This commit is contained in:
Orivej Desh 2017-11-27 16:13:26 +00:00
parent 946ae87414
commit b00c65103d

View File

@ -62,9 +62,7 @@ rec {
installPhase = ''
make install PREFIX="$out"
for file in "$out"/include/luajit-*/*.h; do
ln -s $file "$out"/include/.
done
( cd "$out/include"; ln -s luajit-*/* . )
ln -s "$out"/bin/luajit-* "$out"/bin/lua
''
+ stdenv.lib.optionalString (!isStable)