From ae26a7655ce3169956421be0102a0671769d9c0a Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sat, 18 May 2024 22:32:23 +0200 Subject: emacs-unlimited-select: init as override of pkgs.emacs --- pkgs/emacs-unlimited-select/default.nix | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 pkgs/emacs-unlimited-select/default.nix (limited to 'pkgs') diff --git a/pkgs/emacs-unlimited-select/default.nix b/pkgs/emacs-unlimited-select/default.nix new file mode 100644 index 0000000..88be450 --- /dev/null +++ b/pkgs/emacs-unlimited-select/default.nix @@ -0,0 +1,10 @@ +{ stdenv +, emacs +}: + +assert stdenv.isDarwin; + +emacs.overrideAttrs (old: { + NIX_CFLAGS_COMPILE = (old.NIX_CFLAGS_COMPILE or "") + + " -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT"; +}) -- cgit 1.4.1