mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 23:03:40 +01:00
Merge pull request #273334 from nagy/nagy-emacs-python-isort
emacsPackages.python-isort: replace program
This commit is contained in:
commit
4a068704ef
1 changed files with 7 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue