From f7d962f81c40f87f5102513c4af44a4b655e80b4 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 May 2024 23:19:17 +0200 Subject: emacs-unlimited-select: only build on darwin without assert --- pkgs/emacs-unlimited-select/default.nix | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) (limited to 'pkgs/emacs-unlimited-select/default.nix') 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; + }; }) -- cgit 1.4.1