conky: journal support
This commit is contained in:
parent
cc74c0399e
commit
43c6a83041
1 changed files with 4 additions and 0 deletions
|
@ -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`:
|
||||||
|
|
Loading…
Reference in a new issue