emacs: disable native compilation on Darwin (#401160)

This commit is contained in:
adisbladis
2025-04-23 18:38:06 +02:00
committed by GitHub
@@ -66,7 +66,11 @@
zlib,
# Boolean flags
withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform,
# 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,
noGui ? false,
srcRepo ? true,
withAcl ? false,