Skip to content

Commit

Permalink
qt-6/modules/qtbase: add systemdSupport parameter (#192057)
Browse files Browse the repository at this point in the history
  • Loading branch information
Adam Joseph authored Jan 11, 2023
1 parent 7a00bea commit 250e410
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion pkgs/development/libraries/qt-6/modules/qtbase.nix
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@
, double-conversion
, util-linux
, systemd
, systemdSupport ? stdenv.isLinux
, libb2
, md4c
, mtdev
Expand Down Expand Up @@ -129,7 +130,9 @@ stdenv.mkDerivation rec {
unixODBCDrivers.mariadb
] ++ lib.optionals stdenv.isLinux [
util-linux
] ++ lib.optionals systemdSupport [
systemd
] ++ [
mtdev
lksctp-tools
libselinux
Expand Down Expand Up @@ -219,7 +222,7 @@ stdenv.mkDerivation rec {
"-DQT_FEATURE_openssl_linked=ON"
] ++ lib.optionals (!stdenv.isDarwin) [
"-DQT_FEATURE_sctp=ON"
"-DQT_FEATURE_journald=ON"
"-DQT_FEATURE_journald=${if systemdSupport then "ON" else "OFF"}"
"-DQT_FEATURE_vulkan=ON"
] ++ lib.optionals stdenv.isDarwin [
# build as a set of dynamic libraries
Expand Down

0 comments on commit 250e410

Please sign in to comment.