emacs.pkgs.eglot: build info manual

This commit is contained in:
Lin Jian 2023-08-08 17:14:29 +08:00 committed by Anderson Torres
parent 96c68c58da
commit de24b1e3b1
2 changed files with 21 additions and 0 deletions

View File

@ -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;

View File

@ -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 {