emacsPackages.pikchr-mode: replace program

This commit is contained in:
Daniel Nagy 2023-07-24 23:45:00 +02:00
parent b1f55d2d6b
commit 1159c64f58
No known key found for this signature in database
GPG key ID: 1B8E8DCB576FB671

View file

@ -474,6 +474,13 @@ let
# part of a larger package
notmuch = dontConfigure super.notmuch;
pikchr-mode = super.pikchr-mode.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace pikchr-mode.el \
--replace '"pikchr")' '"${lib.getExe pkgs.pikchr}")'
'';
});
rtags = dontConfigure (externalSrc super.rtags pkgs.rtags);
rtags-xref = dontConfigure super.rtags;