git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #12430 from LnL7/youcompleteme-python-path

vimPlugins.youcompleteme: patch default python path

commit647cc4ff10d943feadc0edd687ecce67842992ac authorArseniy Seroka <jagajaga@users.noreply.github.com> dateSat 16 Jan 2016, 23:11 (11 years ago) parentedaf46fea5910a
2 files changed+4
pkgs/misc/vim-plugins/default.nix+2 pkgs/misc/vim-plugins/vim2nix/additional-nix-code/youcompleteme+2
pkgs/misc/vim-plugins/default.nix+2
@@ -890,6 +890,8 @@ rec {
890890
891891 buildPhase = ''
892892 patchShebangs .
893+ substituteInPlace plugin/youcompleteme.vim \
894+ --replace "'ycm_path_to_python_interpreter', '''" "'ycm_path_to_python_interpreter', '${python}/bin/python'"
893895
894896 mkdir build
895897 pushd build
pkgs/misc/vim-plugins/vim2nix/additional-nix-code/youcompleteme+2
@@ -6,6 +6,8 @@
66
77 buildPhase = ''
88 patchShebangs .
9+ substituteInPlace plugin/youcompleteme.vim \
10+ --replace "'ycm_path_to_python_interpreter', '''" "'ycm_path_to_python_interpreter', '${python}/bin/python'"
911
1012 mkdir build
1113 pushd build