about summary refs log tree commit diff stats
path: root/pkgs/emacs-unlimited-select/default.nix
blob: a6b73ea51a74c015a6d3ef8e1db164c5fdd30eab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ stdenv
, lib
, emacs
}:

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;
  };
})