Generation 58 2024-04-20 14:16:45 (current)
This commit is contained in:
parent
dbd7e64584
commit
7e0f53752c
@ -5,24 +5,24 @@
|
|||||||
...
|
...
|
||||||
}: let
|
}: let
|
||||||
wrapped-emacs = let
|
wrapped-emacs = let
|
||||||
emacs-pkgs = 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; [
|
path-pkgs = with pkgs; [
|
||||||
binutils
|
|
||||||
(ripgrep.override {withPCRE2 = true;})
|
(ripgrep.override {withPCRE2 = true;})
|
||||||
gnutls
|
binutils
|
||||||
fd
|
|
||||||
imagemagick
|
|
||||||
zstd
|
|
||||||
editorconfig-core-c
|
editorconfig-core-c
|
||||||
emacs-all-the-icons-fonts
|
emacs-all-the-icons-fonts
|
||||||
|
fd
|
||||||
|
gnutls
|
||||||
|
imagemagick
|
||||||
|
mlocate
|
||||||
|
zstd
|
||||||
];
|
];
|
||||||
in
|
in
|
||||||
emacs-pkgs
|
pkgs.symlinkJoin {
|
||||||
// (pkgs.symlinkJoin {
|
|
||||||
name = "wrapped-emacs";
|
name = "wrapped-emacs";
|
||||||
paths = [emacs-pkgs];
|
paths = [emacs-pkg];
|
||||||
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
||||||
postBuild = ''
|
postBuild = ''
|
||||||
wrapProgram $out/bin/emacs \
|
wrapProgram $out/bin/emacs \
|
||||||
@ -30,7 +30,7 @@
|
|||||||
wrapProgram $out/bin/emacsclient \
|
wrapProgram $out/bin/emacsclient \
|
||||||
--prefix PATH : ${lib.makeBinPath path-pkgs}
|
--prefix PATH : ${lib.makeBinPath path-pkgs}
|
||||||
'';
|
'';
|
||||||
});
|
};
|
||||||
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
||||||
export DOOMDIR="${config.home.sessionVariables.DOOMDIR}"
|
export DOOMDIR="${config.home.sessionVariables.DOOMDIR}"
|
||||||
export DOOMLOCALDIR="${config.home.sessionVariables.DOOMLOCALDIR}"
|
export DOOMLOCALDIR="${config.home.sessionVariables.DOOMLOCALDIR}"
|
||||||
@ -43,7 +43,7 @@
|
|||||||
in {
|
in {
|
||||||
programs.emacs = {
|
programs.emacs = {
|
||||||
enable = true;
|
enable = true;
|
||||||
#package = wrapped-emacs;
|
package = wrapped-emacs;
|
||||||
};
|
};
|
||||||
|
|
||||||
home = {
|
home = {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user