Files
nixpkgs/pkgs/applications/virtualization/qemu/skip-macos-icon.patch
Emily ed8925fc50 qemu: patch out calls to Rez(1) and SetFile(1)
This is the only remaining user of the `darwin.stubs.*` packages.
2025-04-20 23:17:49 +01:00

15 lines
375 B
Diff

diff --git a/scripts/entitlement.sh b/scripts/entitlement.sh
index 0f412949ec..23f56d083a 100755
--- a/scripts/entitlement.sh
+++ b/scripts/entitlement.sh
@@ -25,9 +25,5 @@
codesign --entitlements "$ENTITLEMENT" --force -s - "$SRC"
fi
-# Add the QEMU icon to the binary on Mac OS
-Rez -append "$ICON" -o "$SRC"
-SetFile -a C "$SRC"
-
mv -f "$SRC" "$DST"
trap '' exit