Fix incomplete Info-directory-list

This commit is contained in:
hab25
2022-11-05 12:15:22 -03:00
parent 29149d1d79
commit 5ecc1ced3c
3 changed files with 6 additions and 2 deletions

View File

@ -217,7 +217,7 @@ let
chmod u+w $out/config.el
cat $extraConfigPath > $out/config.extra.el
cat > $out/config.el << EOF
(load "${./workarounds.el}")
(load "${./doom-modeline-workarounds.el}")
(load "${doomPrivateDir}/config.el")
(load "$out/config.extra.el")
EOF
@ -234,6 +234,7 @@ let
''}
(load "${doom-emacs}/lisp/doom.el")
(load "${doom-emacs}/lisp/doom-start.el")
(load "${./info-workarounds.el}")
'';
in (emacsPackages.emacsWithPackages (epkgs: [ load-config-from-site ]));

View File

@ -1,4 +1,4 @@
;;; workarounds.el --- Description -*- lexical-binding: t; -*-
;;; doom-modeline-workarounds.el --- Description -*- lexical-binding: t; -*-
;;; Re-added functions removed in https://github.com/seagle0128/doom-modeline/commit/b596440ee78b3e7d2debc3d73f4d938d968fb896
;;;###autoload

3
info-workarounds.el Normal file
View File

@ -0,0 +1,3 @@
;;; info-workarounds.el --- Description -*- lexical-binding: t; -*-
(push "/usr/share/info" Info-directory-list)
(push "~/.nix-profile/share/info" Info-directory-list)