diff options
| author | Emily <vcs@emily.moe> | 2025-04-23 16:47:04 +0100 |
|---|---|---|
| committer | Emily <vcs@emily.moe> | 2025-04-23 16:48:29 +0100 |
| commit | 9fc2bfda831466bbc62182f2095f5773eb51342d (patch) | |
| tree | 40d09691c9d84e7b5ebbf9702e22dfccfc98ddf5 /pkgs/applications/editors/emacs/make-emacs.nix | |
| parent | rcp: 0.15.0 -> 0.16.0 (#373556) (diff) | |
| download | nixpkgs-9fc2bfda831466bbc62182f2095f5773eb51342d.tar.gz | |
emacs: disable native compilation on Darwin
The duplicate `rpath` issue prevents running Emacs on macOS 15.4 and
also breaks the build on that platform, blocking the channels. From
asking around, it seems like native compilation shouldn’t have
such a huge impact on performance as to not make this worth it as
a temporary hack to unblock security fixes and give us more time to
sort out a proper solution.
Diffstat (limited to '')
| -rw-r--r-- | pkgs/applications/editors/emacs/make-emacs.nix | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/pkgs/applications/editors/emacs/make-emacs.nix b/pkgs/applications/editors/emacs/make-emacs.nix index b8156c5b3bcc..4f6fbd9a55c5 100644 --- a/pkgs/applications/editors/emacs/make-emacs.nix +++ b/pkgs/applications/editors/emacs/make-emacs.nix @@ -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, |
