Unverified Commit 84adfb93 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

emacsPackages.gnuplot: replace program

parent 68de265d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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 \