emacsPackages.ormolu: replace program (#340594)

This commit is contained in:
Lin Jian 2024-09-09 06:15:52 +08:00 committed by GitHub
commit 75e28367ac
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -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: {