diff options
-rw-r--r-- | pkgs/emacs-unlimited-select/default.nix | 8 |
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; + }; }) |