emacsPackages.gnuplot-mode: replace program

This commit is contained in:
Daniel Nagy 2024-09-21 13:30:00 +02:00
parent 3f3cc85de3
commit 20a40db7eb
No known key found for this signature in database

View File

@ -357,6 +357,13 @@ let
forge = buildWithGit super.forge;
gnuplot-mode = super.gnuplot-mode.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace gnuplot-mode.el \
--replace-fail 'gnuplot-program "gnuplot"' 'gnuplot-program "${lib.getExe pkgs.gnuplot}"'
'';
});
magit = buildWithGit super.magit;
magit-find-file = buildWithGit super.magit-find-file;