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" ]; }