1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-16 01:57:09 +00:00

Enable lua bindings in nix flake

This commit is contained in:
Brenden Matthews 2024-02-23 09:31:18 -05:00
parent 8dae420bc8
commit f74650886b

View File

@ -52,6 +52,11 @@
stdenv.mkDerivation rec {
name = "conky";
src = ./.;
cmakeFlags = [
"-BUILD_LUA_CAIRO=ON"
"-BUILD_LUA_IMLIB2=ON"
"-BUILD_LUA_RSVG=ON"
];
nativeBuildInputs = [
clang_16
cmake
@ -62,9 +67,11 @@
];
buildInputs =
[
cairo
freetype
gettext
imlib2
librsvg
llvmPackages_16.libcxx
llvmPackages_16.libcxxabi
lua5_4
@ -72,13 +79,13 @@
xorg.libICE
xorg.libSM
xorg.libX11
xorg.libxcb
xorg.libXdamage
xorg.libXext
xorg.libXfixes
xorg.libXft
xorg.libXinerama
xorg.libXi
xorg.libxcb
xorg.libXinerama
xorg.xcbutilerrors
]
++ lib.optional stdenv.isDarwin darwin.libobjc;