weechat: replace `systemd` with `systemdLibs`

+6 -4
+6 -4
pkgs/applications/networking/irc/weechat/default.nix
··· 32 32 tcl, 33 33 phpSupport ? !stdenv.hostPlatform.isDarwin, 34 34 php, 35 - systemd, 35 + systemdLibs, 36 36 libxml2, 37 37 pcre2, 38 38 libargon2, ··· 94 94 pcre2 95 95 libargon2 96 96 ] 97 - ++ lib.optional stdenv.hostPlatform.isLinux systemd; 97 + ++ lib.optionals stdenv.hostPlatform.isLinux [ systemdLibs ]; 98 98 } 99 99 ]; 100 100 enabledPlugins = builtins.filter (p: p.enabled) plugins; ··· 113 113 }; 114 114 115 115 # Why is this needed? https://github.com/weechat/weechat/issues/2031 116 - patches = lib.optional gettext.gettextNeedsLdflags ./gettext-intl.patch; 116 + patches = lib.optionals gettext.gettextNeedsLdflags [ 117 + ./gettext-intl.patch 118 + ]; 117 119 118 120 outputs = [ 119 121 "out" ··· 137 139 pkg-config 138 140 asciidoctor 139 141 ] 140 - ++ lib.optional enableTests cpputest; 142 + ++ lib.optionals enableTests [ cpputest ]; 141 143 142 144 buildInputs = [ 143 145 ncurses