3
0
Fork 0
forked from mirrors/nixpkgs

vimPlugins.youcompleteme: fix python interpreter

This commit is contained in:
Daiderd Jordan 2019-11-09 00:21:47 +01:00 committed by Jon
parent 518b5c1ae4
commit 8e1380b981

View file

@ -430,8 +430,8 @@ self: super: {
youcompleteme = super.youcompleteme.overrideAttrs(old: {
buildPhase = ''
substituteInPlace plugin/youcompleteme.vim \
--replace "'ycm_python_interpreter_path', '''" \
"'ycm_python_interpreter_path', '${python3}/bin/python'"
--replace "'ycm_path_to_python_interpreter', '''" \
"'ycm_path_to_python_interpreter', '${python3}/bin/python3'"
rm -r third_party/ycmd
ln -s ${ycmd}/lib/ycmd third_party