diff options
author | Alan Pearce | 2024-05-18 23:19:17 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-18 23:19:17 +0200 |
commit | f7d962f81c40f87f5102513c4af44a4b655e80b4 (patch) | |
tree | 97d7e84590c6a4a46ca56d410556c87260e3ae98 /pkgs | |
parent | fc5a1f97fda79b345e164c7a6355c057d2811f75 (diff) | |
download | nix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.tar.lz nix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.tar.zst nix-packages-f7d962f81c40f87f5102513c4af44a4b655e80b4.zip |
emacs-unlimited-select: only build on darwin without assert
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/emacs-unlimited-select/default.nix | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/pkgs/emacs-unlimited-select/default.nix b/pkgs/emacs-unlimited-select/default.nix index 88be450..a6b73ea 100644 --- a/pkgs/emacs-unlimited-select/default.nix +++ b/pkgs/emacs-unlimited-select/default.nix @@ -1,10 +1,14 @@ { stdenv +, lib , emacs }: -assert stdenv.isDarwin; - emacs.overrideAttrs (old: { NIX_CFLAGS_COMPILE = (old.NIX_CFLAGS_COMPILE or "") + " -DFD_SETSIZE=10000 -DDARWIN_UNLIMITED_SELECT"; + + meta = with lib; old.meta // { + broken = !stdenv.isDarwin; + platforms = platforms.darwin; + }; }) |