darwin: build Emacs with higher open file limit
Alan Pearce alan@alanpearce.eu
Thu, 04 Apr 2024 11:36:11 +0200
1 files changed, 3 insertions(+), 1 deletions(-)
jump to
M user/settings/darwin.nix → user/settings/darwin.nix
@@ -9,7 +9,9 @@ maid less ]; - programs.emacs.package = pkgs.emacs29; + programs.emacs.package = pkgs.emacs29.overrideAttrs (old: { + NIX_CFLAGS_COMPILE = (old.NIX_CFLAGS_COMPILE or "") + " -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT"; + }); home.file.".hushlogin".text = "";