weechat: replace `systemd` with `systemdLibs`

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