mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-07-13 21:50:33 +03:00
emacsPackages.gnuplot-mode: replace program
This commit is contained in:
parent
3f3cc85de3
commit
20a40db7eb
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue