Generation 63 2024-04-20 15:20:09 (current)
This commit is contained in:
parent
468dd13ece
commit
0f07a5c4dc
@ -4,21 +4,21 @@
|
|||||||
lib,
|
lib,
|
||||||
...
|
...
|
||||||
}: let
|
}: 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
|
wrapped-emacs = let
|
||||||
emacs-pkg = with pkgs;
|
emacs-pkg = with pkgs;
|
||||||
(emacsPackagesFor emacs29).emacsWithPackages
|
(emacsPackagesFor emacs29).emacsWithPackages
|
||||||
(epkgs: [epkgs.vterm epkgs.treesit-grammars.with-all-grammars]);
|
(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
|
in
|
||||||
pkgs.symlinkJoin {
|
pkgs.symlinkJoin {
|
||||||
name = "wrapped-emacs";
|
name = "wrapped-emacs";
|
||||||
@ -26,12 +26,13 @@
|
|||||||
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/emacs \
|
wrapProgram $out/bin/emacs \
|
||||||
--prefix PATH : ${lib.makeBinPath path-pkgs}
|
--prefix PATH : ${lib.makeBinPath doom-path-pkgs}
|
||||||
wrapProgram $out/bin/emacsclient \
|
wrapProgram $out/bin/emacsclient \
|
||||||
--prefix PATH : ${lib.makeBinPath path-pkgs}
|
--prefix PATH : ${lib.makeBinPath doom-path-pkgs}
|
||||||
'';
|
'';
|
||||||
};
|
};
|
||||||
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
||||||
|
export PATH="${lib.makeBinPath doom-path-pkgs}"
|
||||||
export EMACS="${wrapped-emacs}/bin/emacs"
|
export EMACS="${wrapped-emacs}/bin/emacs"
|
||||||
export DOOMDIR="${config.home.sessionVariables.DOOMDIR}"
|
export DOOMDIR="${config.home.sessionVariables.DOOMDIR}"
|
||||||
export DOOMLOCALDIR="${config.home.sessionVariables.DOOMLOCALDIR}"
|
export DOOMLOCALDIR="${config.home.sessionVariables.DOOMLOCALDIR}"
|
||||||
|
|||||||
@ -146,7 +146,7 @@
|
|||||||
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
;;javascript ; all(hope(abandon(ye(who(enter(here))))))
|
||||||
;;julia ; a better, faster MATLAB
|
;;julia ; a better, faster MATLAB
|
||||||
;;kotlin ; a better, slicker Java(Script)
|
;;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
|
;;lean ; for folks with too much to prove
|
||||||
;;ledger ; be audit you can be
|
;;ledger ; be audit you can be
|
||||||
;;lua ; one-based indices? one-based indices
|
;;lua ; one-based indices? one-based indices
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user