2024-10-06 21:09:18 +02:00
|
|
|
{
|
|
|
|
lib,
|
|
|
|
inputs,
|
|
|
|
...
|
|
|
|
}: {
|
2024-03-02 22:05:30 +01:00
|
|
|
flake.overlays.emacs-master-nativecomp = final: prev: {
|
|
|
|
emacs-master-nativecomp = let
|
|
|
|
emacs-master = import (inputs.nixpkgs + "/pkgs/applications/editors/emacs/make-emacs.nix") {
|
|
|
|
version = "30";
|
|
|
|
pname = "emacs-nativecomp";
|
|
|
|
variant = "nativecomp";
|
|
|
|
src = inputs.emacs;
|
|
|
|
meta = {};
|
|
|
|
};
|
|
|
|
emacs-master-package = prev.callPackage emacs-master {
|
|
|
|
libXaw = prev.xorg.libXaw;
|
|
|
|
alsa-lib = prev.alsa-lib;
|
|
|
|
acl = prev.acl;
|
|
|
|
gpm = null;
|
2024-10-06 21:09:18 +02:00
|
|
|
# webkitgtk = prev.webkitgtk;
|
2023-06-11 23:09:59 +02:00
|
|
|
|
2024-03-02 22:05:30 +01:00
|
|
|
# disable MacOS junk
|
|
|
|
AppKit = null;
|
|
|
|
Carbon = null;
|
|
|
|
Cocoa = null;
|
|
|
|
IOKit = null;
|
|
|
|
OSAKit = null;
|
|
|
|
Quartz = null;
|
|
|
|
QuartzCore = null;
|
|
|
|
WebKit = null;
|
|
|
|
ImageCaptureCore = null;
|
|
|
|
GSS = null;
|
|
|
|
ImageIO = null;
|
|
|
|
sigtool = null;
|
|
|
|
Accelerate = null;
|
|
|
|
UniformTypeIdentifiers = null;
|
|
|
|
};
|
2024-10-27 12:47:42 +01:00
|
|
|
in (emacs-master-package.override {
|
|
|
|
withSQLite3 = true;
|
|
|
|
withNativeCompilation = true;
|
|
|
|
withWebP = true;
|
|
|
|
withGTK3 = true;
|
|
|
|
withImageMagick = true;
|
|
|
|
withTreeSitter = true;
|
|
|
|
withXinput2 = true;
|
|
|
|
withXwidgets = false;
|
|
|
|
withX = true;
|
|
|
|
});
|
2024-03-02 22:05:30 +01:00
|
|
|
};
|
2023-06-11 23:09:59 +02:00
|
|
|
}
|