1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-17 19:21:04 +00:00

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