Generation 63 2024-04-20 15:20:09 (current)

This commit is contained in:
Jonas Röger 2024-04-20 15:20:10 +02:00
parent 468dd13ece
commit 0f07a5c4dc
2 changed files with 15 additions and 14 deletions

View File

@ -4,21 +4,21 @@
lib,
...
}: let
doom-path-pkgs = with pkgs; [
(ripgrep.override {withPCRE2 = true;})
binutils
editorconfig-core-c
emacs-all-the-icons-fonts
fd
gnutls
imagemagick
mlocate
zstd
];
wrapped-emacs = let
emacs-pkg = with pkgs;
(emacsPackagesFor emacs29).emacsWithPackages
(epkgs: [epkgs.vterm epkgs.treesit-grammars.with-all-grammars]);
path-pkgs = with pkgs; [
(ripgrep.override {withPCRE2 = true;})
binutils
editorconfig-core-c
emacs-all-the-icons-fonts
fd
gnutls
imagemagick
mlocate
zstd
];
in
pkgs.symlinkJoin {
name = "wrapped-emacs";
@ -26,12 +26,13 @@
nativeBuildInputs = [pkgs.makeBinaryWrapper];
postBuild = ''
wrapProgram $out/bin/emacs \
--prefix PATH : ${lib.makeBinPath path-pkgs}
--prefix PATH : ${lib.makeBinPath doom-path-pkgs}
wrapProgram $out/bin/emacsclient \
--prefix PATH : ${lib.makeBinPath path-pkgs}
--prefix PATH : ${lib.makeBinPath doom-path-pkgs}
'';
};
doom-setup = pkgs.writeShellScript "doom-setup" ''
export PATH="${lib.makeBinPath doom-path-pkgs}"
export EMACS="${wrapped-emacs}/bin/emacs"
export DOOMDIR="${config.home.sessionVariables.DOOMDIR}"
export DOOMLOCALDIR="${config.home.sessionVariables.DOOMLOCALDIR}"

View File

@ -146,7 +146,7 @@
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
;;julia ; a better, faster MATLAB
;;kotlin ; a better, slicker Java(Script)
;;latex ; writing papers in Emacs has never been so fun
latex ; writing papers in Emacs has never been so fun
;;lean ; for folks with too much to prove
;;ledger ; be audit you can be
;;lua ; one-based indices? one-based indices