mirror of
https://git.sr.ht/~magic_rb/dotfiles
synced 2024-11-25 17:46:14 +01:00
580fec0979
Signed-off-by: Magic_RB <magic_rb@redalder.org>
51 lines
1.4 KiB
Nix
51 lines
1.4 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";
|
|
pname = "emacs-nativecomp";
|
|
variant = "nativecomp";
|
|
src = inputs.emacs;
|
|
meta = {};
|
|
};
|
|
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;
|
|
Accelerate = null;
|
|
UniformTypeIdentifiers = null;
|
|
};
|
|
in
|
|
emacs-master-package.override {
|
|
withSQLite3 = true;
|
|
nativeComp = true;
|
|
withWebP = true;
|
|
withGTK3 = true;
|
|
withImageMagick = true;
|
|
withTreeSitter = true;
|
|
withXinput2 = true;
|
|
withXwidgets = true;
|
|
withX = true;
|
|
};
|
|
};
|
|
}
|