1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00

leveldb: fix rpath setting on Darwin

This commit is contained in:
Roman Plášil 2019-11-11 23:20:44 +08:00 committed by Profpatsch
parent fb285f2153
commit f47e6ff4ed

View file

@ -16,8 +16,8 @@ stdenv.mkDerivation rec {
'';
installPhase = (stdenv.lib.optionalString stdenv.isDarwin ''
for file in out-shared/*.dylib*; do
install_name_tool -id $out/lib/$file $file
for file in out-shared/*.dylib.*.*; do
install_name_tool -id $out/lib/$(basename $file) $file
done
'') + # XXX consider removing above after transition to cmake in the next release
"