neovim: Create symlink to correct python3 binary

The symlink being created pointed to 'python' rather than 'python3'
This commit is contained in:
Joe Hermaszewski 2015-10-10 19:30:04 +01:00 committed by Rok Garbas
parent 78b2851724
commit d6d88aaa2b

View File

@ -103,7 +103,7 @@ let
'' + optionalString withPython ''
ln -s ${pythonEnv}/bin/python $out/bin/nvim-python
'' + optionalString withPython3 ''
ln -s ${python3Env}/bin/python $out/bin/nvim-python3
ln -s ${python3Env}/bin/python3 $out/bin/nvim-python3
'' + optionalString (withPython || withPython3) ''
wrapProgram $out/bin/nvim --add-flags "${
(optionalString withPython