Skip to content

Commit

Permalink
emacsPackages.gnuplot-mode: replace program (#343482)
Browse files Browse the repository at this point in the history
  • Loading branch information
jian-lin authored Sep 21, 2024
2 parents f21ae37 + 20a40db commit 10e742c
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -364,6 +364,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;
Expand Down

0 comments on commit 10e742c

Please sign in to comment.