vimPlugins.vim-isort: fix build

isort dropped Python 2 support in 5.0.0.
This commit is contained in:
Janne Pulkkinen 2022-08-15 18:31:36 +03:00
parent 13c000db21
commit 16f934eb47
No known key found for this signature in database
GPG Key ID: 6DCAF308097E8A00

View File

@ -1101,7 +1101,7 @@ self: super: {
vim-isort = super.vim-isort.overrideAttrs (old: {
postPatch = ''
substituteInPlace ftplugin/python_vimisort.vim \
--replace 'import vim' 'import vim; import sys; sys.path.append("${python2.pkgs.isort}/${python2.sitePackages}")'
--replace 'import vim' 'import vim; import sys; sys.path.append("${python3.pkgs.isort}/${python3.sitePackages}")'
'';
});