emacsPackages.gnuplot: replace program

This commit is contained in:
Daniel Nagy
2024-09-22 12:30:00 +02:00
parent 68de265d94
commit 84adfb9386
@@ -364,6 +364,13 @@ let
forge = buildWithGit super.forge;
gnuplot = super.gnuplot.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace gnuplot.el \
--replace-fail 'gnuplot-program "gnuplot"' 'gnuplot-program "${lib.getExe pkgs.gnuplot}"'
'';
});
gnuplot-mode = super.gnuplot-mode.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace gnuplot-mode.el \