Revert "emacs: disable native compilation on Darwin"

This reverts commit 9fc2bfda83.

As described in
https://github.com/NixOS/nixpkgs/issues/395169#issuecomment-3043599654,
native compilation once again works on macOS after libarchive was
updated to 3.8.0.

I have set this flag on an m3 macbook (ARM) and emacs seems to work just
fine.

Closes #395169.
This commit is contained in:
Ian Kerins
2025-07-09 05:15:45 +08:00
committed by Lin Jian
parent 9379dc4b19
commit b05ffc63b7
@@ -67,11 +67,7 @@
zlib,
# Boolean flags
# FIXME: Native compilation breaks build and runtime on macOS 15.4;
# see <https://github.com/NixOS/nixpkgs/issues/395169>.
withNativeCompilation ?
stdenv.buildPlatform.canExecute stdenv.hostPlatform && !stdenv.hostPlatform.isDarwin,
withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform,
noGui ? false,
srcRepo ? true,
withAcl ? false,