Merge pull request #273334 from nagy/nagy-emacs-python-isort

emacsPackages.python-isort: replace program
This commit is contained in:
adisbladis 2023-12-11 11:43:21 +13:00 committed by GitHub
commit 4a068704ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -477,6 +477,13 @@ let
ox-rss = buildWithGit super.ox-rss;
python-isort = super.python-isort.overrideAttrs (attrs: {
postPatch = attrs.postPatch or "" + ''
substituteInPlace python-isort.el \
--replace '-isort-command "isort"' '-isort-command "${lib.getExe pkgs.isort}"'
'';
});
# upstream issue: missing file header
mhc = super.mhc.override {
inherit (self.melpaPackages) calfw;