mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-24 13:05:08 +00:00
![]() Previously `writeDarwinBundle` used a handcrafted shell wrapper, however this causes issues on Apple Silicon Macs as script-only application bundles are always run under Rosetta[0][1]. Replacing the handcrafted shell wrapper with a binary wrapper allows apps to run natively instead of requiring Rosetta. However, this means we can no longer use `$1` and `$@`. After checking nearly every current usage of `desktopToDarwinBundle`, there were no apps that used `%[fFuU]` before the last argument, meaning removing them naively is good enough for the current apps. [0]: https://developer.apple.com/documentation/apple-silicon/building-a-universal-macos-binary [1]: https://stackoverflow.com/a/68208374 |
||
---|---|---|
.. | ||
make-binary-wrapper | ||
patch-ppd-files | ||
patch-rc-path-hooks | ||
postgresql-test-hook | ||
wrap-gapps-hook | ||
audit-blas.sh | ||
audit-tmpdir.sh | ||
auto-patchelf.py | ||
auto-patchelf.sh | ||
autoreconf.sh | ||
breakpoint-hook.sh | ||
canonicalize-jars.sh | ||
compress-man-pages.sh | ||
copy-desktop-items.sh | ||
copy-pkgconfig-items.sh | ||
desktop-to-darwin-bundle.sh | ||
die.sh | ||
enable-coverage-instrumentation.sh | ||
find-xml-catalogs.sh | ||
fix-darwin-dylib-names.sh | ||
gog-unpack.sh | ||
install-shell-files.sh | ||
keep-build-tree.sh | ||
ld-is-cc-hook.sh | ||
make-coverage-analysis-report.sh | ||
make-symlinks-relative.sh | ||
make-wrapper.sh | ||
move-build-tree.sh | ||
move-docs.sh | ||
move-lib64.sh | ||
move-sbin.sh | ||
move-systemd-user-units.sh | ||
multiple-outputs.sh | ||
patch-shebangs.sh | ||
prune-libtool-files.sh | ||
reproducible-builds.sh | ||
role.bash | ||
separate-debug-info.sh | ||
set-java-classpath.sh | ||
set-source-date-epoch-to-latest.sh | ||
setup-debug-info-dirs.sh | ||
shorten-perl-shebang.sh | ||
strip-tmp-aarch64.sh | ||
strip.sh | ||
update-autotools-gnu-config-scripts.sh | ||
use-old-cxx-abi.sh | ||
validate-pkg-config.sh | ||
win-dll-link.sh |