forked from DGNum/liminix
cross-compile lualinux
This commit is contained in:
parent
032d0f8aca
commit
bbf2f53c0e
1 changed files with 4 additions and 1 deletions
|
@ -12,7 +12,10 @@ in lua.pkgs.buildLuaPackage {
|
|||
version = "0.1"; # :shrug:
|
||||
|
||||
inherit src;
|
||||
makeFlags = [ "LUADIR=." "lualinux.so" ];
|
||||
postPatch = ''
|
||||
sed -i -e '/strip/d' Makefile
|
||||
'';
|
||||
makeFlags = [ "LUADIR=." "CC:=$(CC)" "STRIP=true" "lualinux.so" ];
|
||||
|
||||
installPhase = ''
|
||||
mkdir -p "$out/lib/lua/${lua.luaversion}"
|
||||
|
|
Loading…
Reference in a new issue