Unverified Commit 250e410a authored by Adam Joseph's avatar Adam Joseph Committed by GitHub
Browse files

qt-6/modules/qtbase: add systemdSupport parameter (#192057)

parent 7a00bea6
Loading
Loading
Loading
Loading
+4 −1
Original line number Diff line number Diff line
@@ -23,6 +23,7 @@
, double-conversion
, util-linux
, systemd
, systemdSupport ? stdenv.isLinux
, libb2
, md4c
, mtdev
@@ -129,7 +130,9 @@ stdenv.mkDerivation rec {
    unixODBCDrivers.mariadb
  ] ++ lib.optionals stdenv.isLinux [
    util-linux
  ] ++ lib.optionals systemdSupport [
    systemd
  ] ++ [
    mtdev
    lksctp-tools
    libselinux
@@ -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