about summary refs log tree commit diff stats
path: root/pkgs
diff options
context:
space:
mode:
authorAlan Pearce2024-05-18 23:19:17 +0200
committerAlan Pearce2024-05-18 23:19:17 +0200
commitf7d962f81c40f87f5102513c4af44a4b655e80b4 (patch)
tree97d7e84590c6a4a46ca56d410556c87260e3ae98 /pkgs
parentfc5a1f97fda79b345e164c7a6355c057d2811f75 (diff)
downloadnix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.tar.lz
nix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.tar.zst
nix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.zip
emacs-unlimited-select: only build on darwin without assert
Diffstat (limited to 'pkgs')
-rw-r--r--pkgs/emacs-unlimited-select/default.nix8
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/emacs-unlimited-select/default.nix b/pkgs/emacs-unlimited-select/default.nix
index 88be450..a6b73ea 100644
--- a/pkgs/emacs-unlimited-select/default.nix
+++ b/pkgs/emacs-unlimited-select/default.nix
@@ -1,10 +1,14 @@
 { stdenv
+, lib
 , emacs
 }:
 
-assert stdenv.isDarwin;
-
 emacs.overrideAttrs (old: {
   NIX_CFLAGS_COMPILE = (old.NIX_CFLAGS_COMPILE or "") +
     " -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT";
+
+  meta = with lib; old.meta // {
+    broken = !stdenv.isDarwin;
+    platforms = platforms.darwin;
+  };
 })