mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-01-17 18:34:38 +00:00
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 = ''
|
||||
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'"
|
||||
|
||||
substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/libclang.py \
|
||||
--replace "/usr/lib/clang" "${llvmPackages.clang.cc}/lib/clang"
|
||||
'';
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user