Merge pull request #186815 from Matoking/fix-vim-isort

vimPlugins.vim-isort: fix build
This commit is contained in:
figsoda 2022-08-31 22:25:58 -04:00 committed by GitHub
commit cc9c837aa2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1103,7 +1103,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}")'
'';
});