From 82d4de8ecf4baf5621e83ac7a7caa5ea3c76a430 Mon Sep 17 00:00:00 2001 From: Adam Joseph Date: Fri, 7 Apr 2023 00:45:44 -0700 Subject: [PATCH] emacs: mark meta.broken if cross --- pkgs/applications/editors/emacs/generic.nix | 1 + 1 file changed, 1 insertion(+) diff --git a/pkgs/applications/editors/emacs/generic.nix b/pkgs/applications/editors/emacs/generic.nix index 278621c8fd368..e7bfadfaf3f1e 100644 --- a/pkgs/applications/editors/emacs/generic.nix +++ b/pkgs/applications/editors/emacs/generic.nix @@ -256,6 +256,7 @@ assert withTreeSitter -> tree-sitter != null; license = licenses.gpl3Plus; maintainers = with maintainers; [ lovek323 jwiegley adisbladis matthewbauer atemu ]; platforms = if withMacport then platforms.darwin else platforms.all; + broken = !(stdenv.buildPlatform.canExecute stdenv.hostPlatform); longDescription = '' GNU Emacs is an extensible, customizable text editor—and more. At its