forked from DGNum/liminix
ubus: build with Lua
Signed-off-by: Raito Bezarius <masterancpp@gmail.com>
This commit is contained in:
parent
6d4237ff87
commit
78d0088b65
1 changed files with 4 additions and 2 deletions
|
@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue