1 { lib, symlinkJoin, pidgin, makeWrapper, plugins }:
4 extraArgs = map (x: x.wrapArgs or "") plugins;
6 name = "pidgin-with-plugins-${pidgin.version}";
8 paths = [ pidgin ] ++ plugins;
10 nativeBuildInputs = [ makeWrapper ];
13 wrapProgram $out/bin/pidgin \
14 --suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${lib.versions.major pidgin.version} $out/lib/pidgin" \
16 wrapProgram $out/bin/finch \
17 --suffix-each PURPLE_PLUGIN_PATH ':' "$out/lib/purple-${lib.versions.major pidgin.version}" \