dotfiles/overlays/emacs-master-nativecomp/default.nix
Magic_RB 519d7b3841
Fill out omen, toothpick and heater
Signed-off-by: Magic_RB <magic_rb@redalder.org>
2023-06-16 16:08:01 +02:00

45 lines
1.2 KiB
Nix

{ inputs, ... }:
{
flake.overlays.emacs-master-nativecomp = final: prev:
{
emacs-master-nativecomp =
let
emacs-master = import (inputs.nixpkgs + "/pkgs/applications/editors/emacs/generic.nix") {
version = "30";
versionModifier = "-nativecomp";
sha256 = null;
};
emacs-master-package = (prev.callPackage emacs-master {
libXaw = prev.xorg.libXaw;
gconf = null;
alsa-lib = prev.alsa-lib;
acl = prev.acl;
gpm = null;
# 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;
}).overrideAttrs (old:
{
src = inputs.emacs;
}
);
in
emacs-master-package.override {
withSQLite3 = true;
nativeComp = true;
withWebP = true;
};
};
}