mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-01 23:22:37 +00: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;
|
||||
|
||||
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 = {
|
||||
description = "C/C++ client-server indexer based on clang";
|
||||
homepage = https://github.com/andersbakken/rtags;
|
||||
|
Loading…
Reference in New Issue
Block a user