mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
wrapQtAppsHook: use isELF
We should still prevent things like scripts from being wrapped.
This commit is contained in:
parent
53c981f67e
commit
7d6ab0ad7a
1 changed files with 2 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue