conky: journal support

This commit is contained in:
Tim Steinbach 2019-01-26 22:12:41 -05:00
parent cc74c0399e
commit 43c6a83041
No known key found for this signature in database
GPG key ID: 6C654787275A64F1

View file

@ -33,6 +33,7 @@
, rssSupport ? curlSupport , rssSupport ? curlSupport
, weatherMetarSupport ? curlSupport , weatherMetarSupport ? curlSupport
, weatherXoapSupport ? curlSupport , weatherXoapSupport ? curlSupport
, journalSupport ? true, systemd ? null
, libxml2 ? null , libxml2 ? null
}: }:
@ -61,6 +62,7 @@ assert curlSupport -> curl != null;
assert rssSupport -> curlSupport && libxml2 != null; assert rssSupport -> curlSupport && libxml2 != null;
assert weatherMetarSupport -> curlSupport; assert weatherMetarSupport -> curlSupport;
assert weatherXoapSupport -> curlSupport && libxml2 != null; assert weatherXoapSupport -> curlSupport && libxml2 != null;
assert journalSupport -> systemd != null;
with stdenv.lib; with stdenv.lib;
@ -103,6 +105,7 @@ stdenv.mkDerivation rec {
++ optional weatherXoapSupport libxml2 ++ optional weatherXoapSupport libxml2
++ optional nvidiaSupport libXNVCtrl ++ optional nvidiaSupport libXNVCtrl
++ optional pulseSupport libpulseaudio ++ optional pulseSupport libpulseaudio
++ optional journalSupport systemd
; ;
cmakeFlags = [] cmakeFlags = []
@ -123,6 +126,7 @@ stdenv.mkDerivation rec {
++ optional wirelessSupport "-DBUILD_WLAN=ON" ++ optional wirelessSupport "-DBUILD_WLAN=ON"
++ optional nvidiaSupport "-DBUILD_NVIDIA=ON" ++ optional nvidiaSupport "-DBUILD_NVIDIA=ON"
++ optional pulseSupport "-DBUILD_PULSEAUDIO=ON" ++ optional pulseSupport "-DBUILD_PULSEAUDIO=ON"
++ optional journalSupport "-DBUILD_JOURNAL=ON"
; ;
# `make -f src/CMakeFiles/conky.dir/build.make src/CMakeFiles/conky.dir/conky.cc.o`: # `make -f src/CMakeFiles/conky.dir/build.make src/CMakeFiles/conky.dir/conky.cc.o`: