diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix index 102339214597..edbc28f793b0 100644 --- a/pkgs/applications/networking/instant-messengers/pidgin/default.nix +++ b/pkgs/applications/networking/instant-messengers/pidgin/default.nix @@ -74,6 +74,15 @@ let unwrapped = stdenv.mkDerivation rec { --prefix GST_PLUGIN_SYSTEM_PATH_1_0 : "$GST_PLUGIN_SYSTEM_PATH_1_0" ''; + doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform; + # In particular, this detects missing python imports in some of the tools. + postInstallCheck = '' + for f in "''${!outputBin}"/bin/{purple-remote,pidgin}; do + echo "Testing: $f --help" + "$f" --help + done + ''; + meta = with lib; { description = "Multi-protocol instant messaging client"; homepage = "http://pidgin.im";