diff options
author | Lin Jian <me@linj.tech> | 2023-08-08 17:14:29 +0800 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-08-08 18:53:47 +0000 |
commit | de24b1e3b1d97805d76f8c7ca7b3fb2d864bfe9e (patch) | |
tree | f319fe78dd1e04ab0a196926f6cb7771f4c3aa3b /pkgs | |
parent | 96c68c58da95cd55f7bcd444e638615835701343 (diff) |
emacs.pkgs.eglot: build info manual
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix | 10 | ||||
-rw-r--r-- | pkgs/applications/editors/emacs/elisp-packages/elpa-packages.nix | 11 |
2 files changed, 21 insertions, 0 deletions
diff --git a/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix index 306e7192be1ac..18e685cc8467c 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/elpa-devel-packages.nix @@ -53,6 +53,16 @@ self: let super = removeAttrs imported [ "dash" ]; overrides = { + 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 + ''; + }); }; elpaDevelPackages = super // overrides; 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 { |