tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
qt6: use isELF and isMachO in wrapQtAppsHook
sund3RRR
10 months ago
f74e440d
dc52ceb7
+3
1 changed file
expand all
collapse all
unified
split
pkgs
development
libraries
qt-6
hooks
wrap-qt-apps-hook.sh
+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
84
+
# Skip the file if it is not a binary (ELF or Mach-O)
85
85
+
isELF "$file" || isMachO "$file" || continue
86
86
+
84
87
if [ -h "$file" ]; then
85
88
target="$(readlink -e "$file")"
86
89
echo "wrapping $file -> $target"