39 lines
913 B
Nix
39 lines
913 B
Nix
{
|
|
lib,
|
|
stdenv,
|
|
pkgs,
|
|
}:
|
|
|
|
let
|
|
pre-early-init = ./pre-early-init.el;
|
|
in
|
|
stdenv.mkDerivation {
|
|
pname = "minimal-emacs.d";
|
|
version = "02-08-2025";
|
|
|
|
src = pkgs.fetchFromGitHub {
|
|
owner = "jamescherti";
|
|
repo = "minimal-emacs.d";
|
|
rev = "e44aa459d5eb5af2f868dc490e4d05efca308915";
|
|
# rev = "08f077545a0f45a1701333406fd1afe8be77a752";
|
|
sha256 = "sha256-ABHv+TUQpBoXkg75iL2ROJoGjT+iUZQHZD9b4Z8Q4kQ=";
|
|
};
|
|
|
|
patches = [
|
|
./030825-init-file-debug.patch
|
|
];
|
|
|
|
installPhase = ''
|
|
mkdir $out
|
|
cp -r * "$out/"
|
|
cp -r ${pre-early-init} "$out/pre-early-init.el"
|
|
'';
|
|
|
|
meta = with lib; {
|
|
description = "A Customizable Emacs init.el and early-init.el that Provides Better Defaults and Faster Startup";
|
|
homepage = "https://github.com/jamescherti/minimal-emacs.d";
|
|
platforms = platforms.all;
|
|
maintainers = [ maintainers.rayandrew ];
|
|
license = licenses.gpl3;
|
|
};
|
|
}
|