ubus: build with Lua
Some checks failed
build liminix / build_vm_qemu_mips (push) Failing after 27s

Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
Raito Bezarius 2024-09-04 16:30:44 +02:00
parent 6d4237ff87
commit 78d0088b65

View file

@ -1,4 +1,4 @@
{ stdenv, lib, fetchFromGitHub, cmake, libubox, json_c }: { stdenv, fetchFromGitHub, cmake, libubox, json_c, lua5_1 }:
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "ubus"; pname = "ubus";
version = "unstable-04-09-2024"; version = "unstable-04-09-2024";
@ -15,12 +15,14 @@ stdenv.mkDerivation {
]; ];
buildInputs = [ buildInputs = [
lua5_1
libubox libubox
json_c json_c
]; ];
cmakeFlags = [ cmakeFlags = [
"-DBUILD_LUA=off" "-DBUILD_LUA=on"
"-DLUAPATH=${placeholder "out"}/lib/lua"
"-DBUILD_EXAMPLES=off" "-DBUILD_EXAMPLES=off"
]; ];
} }