about summary refs log tree commit diff
path: root/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
diff options
context:
space:
mode:
authorLin Jian <me@linj.tech>2023-08-08 17:14:29 +0800
committerAnderson Torres <torres.anderson.85@protonmail.com>2023-08-08 18:53:47 +0000
commitde24b1e3b1d97805d76f8c7ca7b3fb2d864bfe9e (patch)
treef319fe78dd1e04ab0a196926f6cb7771f4c3aa3b /pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
parent96c68c58da95cd55f7bcd444e638615835701343 (diff)
emacs.pkgs.eglot: build info manual
Diffstat (limited to 'pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix')
-rw-r--r--pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix11
1 files changed, 11 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
index 08d96268e7aa7..e792a758373b4 100644
--- a/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
+++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix
@@ -106,6 +106,17 @@ self: let
         };
       });
 
+      eglot = super.eglot.overrideAttrs (old: {
+        postInstall = (old.postInstall or "") + ''
+          local info_file=eglot.info
+          pushd $out/share/emacs/site-lisp/elpa/eglot-*
+          # specify output info file to override the one defined in eglot.texi
+          makeinfo --output=$info_file eglot.texi
+          install-info $info_file dir
+          popd
+        '';
+      });
+
       jinx = super.jinx.overrideAttrs (old: let
         libExt = pkgs.stdenv.targetPlatform.extensions.sharedLibrary;
       in {