t #2

Closed
lbailly wants to merge 57 commits from CI into main
Showing only changes of commit 78d0088b65 - Show all commits

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