Skip to content

Commit

Permalink
emacsPackages.gnuplot-mode: replace program
Browse files Browse the repository at this point in the history
  • Loading branch information
nagy committed Sep 21, 2024
1 parent 3f3cc85 commit 20a40db
Showing 1 changed file with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit 20a40db

Please sign in to comment.