Unverified Commit 20a40db7 authored by Daniel Nagy's avatar Daniel Nagy
Browse files

emacsPackages.gnuplot-mode: replace program

parent 3f3cc85d
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -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;