diff options
author | Alan Pearce | 2024-04-04 11:36:11 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-04 11:36:11 +0200 |
commit | c0e1054c66c49423e69de686955c3671b39d1888 (patch) | |
tree | 72b9937cef060ce1697a54ea7988d37e75a2c320 /user | |
parent | ba2af712994a709ddb10f789736fce9fda99cc44 (diff) | |
download | nixfiles-c0e1054c66c49423e69de686955c3671b39d1888.tar.lz nixfiles-c0e1054c66c49423e69de686955c3671b39d1888.tar.zst nixfiles-c0e1054c66c49423e69de686955c3671b39d1888.zip |
darwin: build Emacs with higher open file limit
Diffstat (limited to 'user')
-rw-r--r-- | user/settings/darwin.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/user/settings/darwin.nix b/user/settings/darwin.nix index 47466cf9..3b122e0f 100644 --- a/user/settings/darwin.nix +++ b/user/settings/darwin.nix @@ -9,7 +9,9 @@ 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 = ""; |