Unverified Commit 10e742c4 authored by Lin Jian's avatar Lin Jian Committed by GitHub
Browse files

emacsPackages.gnuplot-mode: replace program (#343482)

parents f21ae37d 20a40db7
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -364,6 +364,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;