mirror of
https://github.com/NixOS/nixpkgs.git
synced 2026-10-03 21:40:12 +00:00
Superseded by emacs31, which was released¹ on august 24 2026, and made available on Nixpkgs at #556042. ¹: https://lists.gnu.org/archive/html/emacs-devel/2026-08/msg00760.html Co-authored-by: LIN, Jian <me@linj.tech>
37 lines
672 B
Nix
37 lines
672 B
Nix
{ lib, pkgs }:
|
|
|
|
lib.makeScope pkgs.newScope (
|
|
self:
|
|
let
|
|
inherit (self) callPackage;
|
|
inheritedArgs = {
|
|
inherit (pkgs.darwin) sigtool;
|
|
};
|
|
in
|
|
{
|
|
sources = import ./sources.nix {
|
|
inherit lib;
|
|
inherit (pkgs)
|
|
fetchFromGitHub
|
|
fetchgit
|
|
;
|
|
};
|
|
|
|
emacs31 = callPackage (self.sources.emacs31) inheritedArgs;
|
|
|
|
emacs31-gtk3 = self.emacs31.override {
|
|
withGTK3 = true;
|
|
};
|
|
|
|
emacs31-nox = self.emacs31.override {
|
|
noGui = true;
|
|
};
|
|
|
|
emacs31-pgtk = self.emacs31.override {
|
|
withPgtk = true;
|
|
};
|
|
|
|
emacs30-macport = callPackage (self.sources.emacs30-macport) inheritedArgs;
|
|
}
|
|
)
|