1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-09-11 15:08:33 +01:00

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)