mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-28 06:14:26 +03:00
Merge pull request #25309 from acowley/rtags-id
rtags: link to libclang.dylib at absolute path on darwin
This commit is contained in:
commit
a4f772435d
@ -22,6 +22,12 @@ stdenv.mkDerivation rec {
|
|||||||
|
|
||||||
enableParallelBuilding = true;
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
|
postInstall = lib.optionalString stdenv.isDarwin ''
|
||||||
|
for f in $out/bin/{rc,rdm,rp}; do
|
||||||
|
install_name_tool -change @rpath/libclang.dylib ${llvmPackages.clang.cc}/lib/libclang.dylib ''${f}
|
||||||
|
done
|
||||||
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
description = "C/C++ client-server indexer based on clang";
|
description = "C/C++ client-server indexer based on clang";
|
||||||
homepage = https://github.com/andersbakken/rtags;
|
homepage = https://github.com/andersbakken/rtags;
|
||||||
|
Loading…
Reference in New Issue
Block a user