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

assert stdenv.isDarwin;

emacs.overrideAttrs (old: {
  NIX_CFLAGS_COMPILE = (old.NIX_CFLAGS_COMPILE or "") +
    " -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT";
})