From 78d0088b650926f70429d609095697f6a868d54c Mon Sep 17 00:00:00 2001 From: Raito Bezarius Date: Wed, 4 Sep 2024 16:30:44 +0200 Subject: [PATCH] ubus: build with Lua Signed-off-by: Raito Bezarius --- pkgs/ubus/default.nix | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/pkgs/ubus/default.nix b/pkgs/ubus/default.nix index 37bd457..c5c78a1 100644 --- a/pkgs/ubus/default.nix +++ b/pkgs/ubus/default.nix @@ -1,4 +1,4 @@ -{ stdenv, lib, fetchFromGitHub, cmake, libubox, json_c }: +{ stdenv, fetchFromGitHub, cmake, libubox, json_c, lua5_1 }: stdenv.mkDerivation { pname = "ubus"; version = "unstable-04-09-2024"; @@ -15,12 +15,14 @@ stdenv.mkDerivation { ]; buildInputs = [ + lua5_1 libubox json_c ]; cmakeFlags = [ - "-DBUILD_LUA=off" + "-DBUILD_LUA=on" + "-DLUAPATH=${placeholder "out"}/lib/lua" "-DBUILD_EXAMPLES=off" ]; }