From 16f934eb47c3957653272546dd7ca9e5fbc74c62 Mon Sep 17 00:00:00 2001 From: Janne Pulkkinen Date: Mon, 15 Aug 2022 18:31:36 +0300 Subject: [PATCH] vimPlugins.vim-isort: fix build isort dropped Python 2 support in 5.0.0. --- pkgs/applications/editors/vim/plugins/overrides.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/editors/vim/plugins/overrides.nix b/pkgs/applications/editors/vim/plugins/overrides.nix index b2477665ec90..fad8c091f906 100644 --- a/pkgs/applications/editors/vim/plugins/overrides.nix +++ b/pkgs/applications/editors/vim/plugins/overrides.nix @@ -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}")' ''; });