diff options
author | Alexander M Pickering <alex@cogarr.net> | 2024-08-14 12:17:22 -0500 |
---|---|---|
committer | Alexander M Pickering <alex@cogarr.net> | 2024-08-14 12:17:22 -0500 |
commit | c03954896ec2ce03b5f3969867a7196ae3a443a2 (patch) | |
tree | 51f1d62c26c3749b7b791d1f1c303b081bb641ae | |
parent | 17bfc46df0006ac0908d001387b24449780d4d92 (diff) | |
download | image-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.tar.gz image-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.tar.bz2 image-luarocks-c03954896ec2ce03b5f3969867a7196ae3a443a2.zip |
Set the incdir for luarocks
-rwxr-xr-x | init | 1 | ||||
-rw-r--r-- | meta.lua | 3 |
2 files changed, 2 insertions, 2 deletions
@@ -17,3 +17,4 @@ rm /root/*.tar.gz | |||
17 | rm -rf /root/image-mingw64 | 17 | rm -rf /root/image-mingw64 |
18 | luarocks config arch $arch | 18 | luarocks config arch $arch |
19 | luarocks config link_lua_explicitly true | 19 | luarocks config link_lua_explicitly true |
20 | luarocks config variables.LUA_INCDIR /root/$luaver/src | ||
@@ -21,14 +21,13 @@ for image, arch, version, link in cartesian(sources, lua_versions) do | |||
21 | image = "image-" .. image, | 21 | image = "image-" .. image, |
22 | requires = { | 22 | requires = { |
23 | {"http", link} | 23 | {"http", link} |
24 | |||
25 | }, | 24 | }, |
26 | produces = {}, | 25 | produces = {}, |
27 | export = true, | 26 | export = true, |
28 | env = { | 27 | env = { |
29 | maj = version:match("(%d)%d"), | 28 | maj = version:match("(%d)%d"), |
30 | min = version:match("%d(%d)"), | 29 | min = version:match("%d(%d)"), |
31 | arch = arch | 30 | arch = arch, |
32 | } | 31 | } |
33 | } | 32 | } |
34 | end | 33 | end |