about summary refs log tree commit diff
path: root/pkgs/applications/editors
diff options
context:
space:
mode:
authorAdam Joseph <adam@westernsemico.com>2023-04-07 00:45:44 -0700
committerAdam Joseph <adam@westernsemico.com>2023-04-07 00:46:00 -0700
commit82d4de8ecf4baf5621e83ac7a7caa5ea3c76a430 (patch)
treea79da116ebd0d42bbdd45239be134bc05686fa3e /pkgs/applications/editors
parente3bbbfaf865a27cc3616a30a9554b3751f487c2a (diff)
emacs: mark meta.broken if cross
Diffstat (limited to 'pkgs/applications/editors')
-rw-r--r--pkgs/applications/editors/emacs/generic.nix1
1 files changed, 1 insertions, 0 deletions
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