diff options
author | Vladimír Čunát <v@cunat.cz> | 2021-03-28 17:29:49 +0200 |
---|---|---|
committer | Vladimír Čunát <v@cunat.cz> | 2021-03-28 17:29:49 +0200 |
commit | f3c739f4792eff0fca12c637c3017f431272665e (patch) | |
tree | 8688b915453abff6bdfd1a9943731d1c28d60e46 /pkgs/applications/networking/instant-messengers/pidgin | |
parent | b4946f56ae7e9277652239a819afcf800c62ec2d (diff) |
pidgin: add checks (see parent commit, too)
Diffstat (limited to 'pkgs/applications/networking/instant-messengers/pidgin')
-rw-r--r-- | pkgs/applications/networking/instant-messengers/pidgin/default.nix | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/pkgs/applications/networking/instant-messengers/pidgin/default.nix b/pkgs/applications/networking/instant-messengers/pidgin/default.nix index 1023392145979..edbc28f793b04 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"; |