qt6: use isELF and isMachO in wrapQtAppsHook

sund3RRR f74e440d dc52ceb7

+3
+3
pkgs/development/libraries/qt-6/hooks/wrap-qt-apps-hook.sh
··· 81 81 [ -d "$targetDir" ] || continue 82 82 83 83 find "$targetDir" ! -type d -executable -print0 | while IFS= read -r -d '' file; do 84 + # Skip the file if it is not a binary (ELF or Mach-O) 85 + isELF "$file" || isMachO "$file" || continue 86 + 84 87 if [ -h "$file" ]; then 85 88 target="$(readlink -e "$file")" 86 89 echo "wrapping $file -> $target"