From b05ffc63b7e95fde20433ac6a7b4ef1712695d56 Mon Sep 17 00:00:00 2001 From: Ian Kerins Date: Tue, 8 Jul 2025 00:59:17 -0400 Subject: [PATCH] Revert "emacs: disable native compilation on Darwin" This reverts commit 9fc2bfda831466bbc62182f2095f5773eb51342d. 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. --- pkgs/applications/editors/emacs/make-emacs.nix | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index abb61a2a228c..ac981809ca16 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -67,11 +67,7 @@ zlib, # Boolean flags - - # FIXME: Native compilation breaks build and runtime on macOS 15.4; - # see . - withNativeCompilation ? - stdenv.buildPlatform.canExecute stdenv.hostPlatform && !stdenv.hostPlatform.isDarwin, + withNativeCompilation ? stdenv.buildPlatform.canExecute stdenv.hostPlatform, noGui ? false, srcRepo ? true, withAcl ? false,