mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-05-20 13:36:51 +02:00
fix: emacs-rime & doom's PATH
This commit is contained in:
@@ -16,7 +16,7 @@
|
||||
with lib; let
|
||||
cfg = config.modules.editors.emacs;
|
||||
envExtra = ''
|
||||
export PATH="${config.xdg.cacheHome}/emacs/bin:$PATH"
|
||||
export PATH="${config.xdg.configHome}/emacs/bin:$PATH"
|
||||
'';
|
||||
shellAliases = {
|
||||
e = "emacs";
|
||||
@@ -37,6 +37,9 @@ in {
|
||||
((emacsPackagesFor emacs-unstable-nox).emacsWithPackages
|
||||
(epkgs: [
|
||||
epkgs.vterm
|
||||
# https://github.com/NixOS/nixpkgs/blob/nixos-23.11/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix#L488-L498
|
||||
# failed to build on macOS Apple Silicon
|
||||
(if pkgs.stdenv.isLinux then epkgs.rime else nil)
|
||||
]))
|
||||
emacs-all-the-icons-fonts
|
||||
|
||||
|
||||
Reference in New Issue
Block a user