diff options
author | Alan Pearce | 2024-05-18 22:32:23 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-18 22:32:23 +0200 |
commit | ae26a7655ce3169956421be0102a0671769d9c0a (patch) | |
tree | ca61997999bde93ae3cf27eb6159a7e88631f01a | |
parent | 3a9a0211c9c5055f792fc6f21b1ff3dfd71b2a34 (diff) | |
download | nix-packages-ae26a7655ce3169956421be0102a0671769d9c0a.tar.lz nix-packages-ae26a7655ce3169956421be0102a0671769d9c0a.tar.zst nix-packages-ae26a7655ce3169956421be0102a0671769d9c0a.zip |
emacs-unlimited-select: init as override of pkgs.emacs
-rw-r--r-- | default.nix | 1 | ||||
-rw-r--r-- | pkgs/emacs-unlimited-select/default.nix | 10 |
2 files changed, 11 insertions, 0 deletions
diff --git a/default.nix b/default.nix index 1e336a1..732a014 100644 --- a/default.nix +++ b/default.nix @@ -19,4 +19,5 @@ enchant-configurable = pkgs.callPackage ./pkgs/enchant-configurable { inherit (pkgs.darwin.apple_sdk.frameworks) Cocoa; }; + emacs-unlimited-select = pkgs.callPackage ./pkgs/emacs-unlimited-select { }; } 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"; +}) |