2023-07-15 17:15:38 +00:00
|
|
|
{ lib, pkgs }:
|
|
|
|
|
|
|
|
lib.makeScope pkgs.newScope (self:
|
|
|
|
let
|
|
|
|
inherit (self) callPackage;
|
2023-10-09 19:29:22 +00:00
|
|
|
inheritedArgs = {
|
|
|
|
inherit (pkgs.darwin) sigtool;
|
2024-07-27 06:49:29 +00:00
|
|
|
inherit (pkgs.darwin.apple_sdk.frameworks)
|
2023-10-09 19:29:22 +00:00
|
|
|
Accelerate AppKit Carbon Cocoa GSS ImageCaptureCore ImageIO IOKit OSAKit
|
2024-07-27 06:49:29 +00:00
|
|
|
Quartz QuartzCore WebKit;
|
|
|
|
inherit (pkgs.darwin.apple_sdk_11_0.frameworks) UniformTypeIdentifiers;
|
2023-10-09 19:29:22 +00:00
|
|
|
};
|
2023-07-15 17:15:38 +00:00
|
|
|
in {
|
|
|
|
sources = import ./sources.nix {
|
|
|
|
inherit lib;
|
|
|
|
inherit (pkgs)
|
|
|
|
fetchFromBitbucket
|
|
|
|
fetchFromSavannah;
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
emacs28 = callPackage (self.sources.emacs28) inheritedArgs;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
emacs28-gtk3 = self.emacs28.override {
|
|
|
|
withGTK3 = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs28-nox = pkgs.lowPrio (self.emacs28.override {
|
|
|
|
noGui = true;
|
|
|
|
});
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
emacs29 = callPackage (self.sources.emacs29) inheritedArgs;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
|
|
|
emacs29-gtk3 = self.emacs29.override {
|
|
|
|
withGTK3 = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs29-nox = self.emacs29.override {
|
|
|
|
noGui = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs29-pgtk = self.emacs29.override {
|
|
|
|
withPgtk = true;
|
|
|
|
};
|
|
|
|
|
2024-09-19 14:19:46 +00:00
|
|
|
emacs30 = callPackage (self.sources.emacs30) inheritedArgs;
|
|
|
|
|
|
|
|
emacs30-gtk3 = self.emacs30.override {
|
|
|
|
withGTK3 = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs30-nox = self.emacs30.override {
|
|
|
|
noGui = true;
|
|
|
|
};
|
|
|
|
|
|
|
|
emacs30-pgtk = self.emacs30.override {
|
|
|
|
withPgtk = true;
|
|
|
|
};
|
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
emacs28-macport = callPackage (self.sources.emacs28-macport) inheritedArgs;
|
2023-07-15 17:15:38 +00:00
|
|
|
|
2023-10-09 19:29:22 +00:00
|
|
|
emacs29-macport = callPackage (self.sources.emacs29-macport) inheritedArgs;
|
2023-07-15 17:15:38 +00:00
|
|
|
})
|