diff --git a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix index 8d24a2d8e0cb..fdd699a5d783 100644 --- a/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix +++ b/pkgs/applications/editors/emacs/elisp-packages/melpa-packages.nix @@ -451,6 +451,13 @@ let orgit-forge = buildWithGit super.orgit-forge; + ormolu = super.ormolu.overrideAttrs (attrs: { + postPatch = attrs.postPatch or "" + '' + substituteInPlace ormolu.el \ + --replace-fail 'ormolu-process-path "ormolu"' 'ormolu-process-path "${lib.getExe pkgs.ormolu}"' + ''; + }); + ox-rss = buildWithGit super.ox-rss; python-isort = super.python-isort.overrideAttrs (attrs: {