Skip to content

Commit

Permalink
Merge pull request #48779 from Ma27/backport-vim-clang-fix
Browse files Browse the repository at this point in the history
vimPlugins.clang_complete: fix path to libclang.so (backport)
  • Loading branch information
Mic92 committed Oct 21, 2018
2 parents 08a0f3f + 5fa7d74 commit d4d4e58
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pkgs/misc/vim-plugins/default.nix
Expand Up @@ -439,7 +439,7 @@ self = rec {
# $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
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/libclang.so'"
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc.lib}/lib/libclang.so'"
'';
};

Expand Down
Expand Up @@ -7,5 +7,5 @@
# $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
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/libclang.so'"
--replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc.lib}/lib/libclang.so'"
'';

0 comments on commit d4d4e58

Please sign in to comment.