Generation 70 2024-04-20 20:22:50 (current)
This commit is contained in:
parent
ed0df0ff0a
commit
75af910611
@ -22,9 +22,10 @@
|
||||
(emacsPackagesFor emacs29).emacsWithPackages
|
||||
(epkgs: [epkgs.vterm epkgs.treesit-grammars.with-all-grammars]);
|
||||
in
|
||||
pkgs.symlinkJoin {
|
||||
emacs-pkg
|
||||
// (pkgs.symlinkJoin {
|
||||
name = "wrapped-emacs";
|
||||
paths = [emacs-pkg pkgs.emacs29];
|
||||
paths = [emacs-pkg];
|
||||
nativeBuildInputs = [pkgs.makeBinaryWrapper];
|
||||
postBuild = ''
|
||||
wrapProgram $out/bin/emacs \
|
||||
@ -33,7 +34,7 @@
|
||||
wrapProgram $out/bin/emacsclient \
|
||||
--prefix PATH : ${lib.makeBinPath doom-path-pkgs}
|
||||
'';
|
||||
};
|
||||
});
|
||||
doom-setup = pkgs.writeShellScript "doom-setup" ''
|
||||
export PATH="$PATH:${lib.makeBinPath doom-path-pkgs}"
|
||||
export EMACS="${wrapped-emacs}/bin/emacs"
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user