mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-29 10:23:29 +00:00
emacsPackages.gnuplot: replace program (#343696)
This commit is contained in:
commit
154e2c9da0
@ -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 \
|
||||
|
Loading…
Reference in New Issue
Block a user