clang_complete (vim): fix multiple clang outputs
Clang-specific headers and dynamic libraries now go to different outputs, and clang_complete must be able to find both
This commit is contained in:
parent
70f87e66b3
commit
71bf86d056
@ -101,6 +101,9 @@ with generated;
|
|||||||
preFixup = ''
|
preFixup = ''
|
||||||
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
|
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
|
||||||
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc.lib}/lib/libclang.so'"
|
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc.lib}/lib/libclang.so'"
|
||||||
|
|
||||||
|
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/libclang.py \
|
||||||
|
--replace "/usr/lib/clang" "${llvmPackages.clang.cc}/lib/clang"
|
||||||
'';
|
'';
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user