Files
nixpkgs/pkgs/applications/editors/emacs/default.nix
pancho horrillo b4dc1e199d emacs30: remove
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>
2026-08-28 08:10:12 +02:00

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;
}
)