From 7d6ab0ad7a5a5b1765a6d70b5df861d14e3c3482 Mon Sep 17 00:00:00 2001 From: worldofpeace Date: Wed, 17 Jul 2019 15:53:15 -0400 Subject: [PATCH] wrapQtAppsHook: use isELF We should still prevent things like scripts from being wrapped. --- pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh b/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh index 775922c1f4c..e7d7d132617 100644 --- a/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh +++ b/pkgs/development/libraries/qt-5/hooks/wrap-qt-apps-hook.sh @@ -82,6 +82,8 @@ wrapQtAppsHook() { find "$targetDir" -executable -print0 | while IFS= read -r -d '' file do + isELF "$file" || continue + if [ -f "$file" ] then echo "wrapping $file"