···293 sha256 = "19zs03giv8h5xmv18y9zn85sxr8akphvbscclrqhs4cf88285cgl";
294 };
295 dependencies = [];
296+ # In addition to the arguments you pass to your compiler, you also need to
297+ # specify the path of the C++ std header (if you are using C++).
298+ # These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
299+ # The linked ruby code shows generates the required '.clang_complete' for cmake based projects
300+ # https://gist.github.com/Mic92/135e83803ed29162817fce4098dec144
301+ # as an alternative you can execute the following command:
302+ # $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
303 preFixup = ''
304 substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
305 --replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc}/lib/libclang.so'"
···1+ # In addition to the arguments you pass to your compiler, you also need to
2+ # specify the path of the C++ std header (if you are using C++).
3+ # These usually implicitly set by cc-wrapper around clang (pkgs/build-support/cc-wrapper).
4+ # The linked ruby code shows generates the required '.clang_complete' for cmake based projects
5+ # https://gist.github.com/Mic92/135e83803ed29162817fce4098dec144
6+ # as an alternative you can execute the following command:
7+ # $ eval echo $(nix-instantiate --eval --expr 'with (import <nixpkgs>) {}; clang.default_cxx_stdlib_compile')
8 preFixup = ''
9 substituteInPlace "$out"/share/vim-plugins/clang_complete/plugin/clang_complete.vim \
10 --replace "let g:clang_library_path = '' + "''" + ''" "let g:clang_library_path='${llvmPackages.clang.cc}/lib/libclang.so'"