@@ -76,8 +76,11 @@ let unwrapped = stdenv.mkDerivation rec {
7676
7777 doInstallCheck = stdenv.hostPlatform == stdenv.buildPlatform;
7878 # In particular, this detects missing python imports in some of the tools.
79− postInstallCheck = ''
80− for f in "''${!outputBin}"/bin/{purple-remote,pidgin}; do
79+ postFixup = let
80+ # TODO: python is a script, so it doesn't work as interpreter on darwin
81+ binsToTest = lib.optionalString stdenv.isLinux "purple-remote," + "pidgin,finch";
82+ in lib.optionalString doInstallCheck ''
83+ for f in "''${!outputBin}"/bin/{${binsToTest}}; do
8184 echo "Testing: $f --help"
8285 "$f" --help
8386 done