diff --git a/pkgs/development/libraries/harfbuzz/default.nix b/pkgs/development/libraries/harfbuzz/default.nix index 4d8f005bf88e..131dbbfd09cf 100644 --- a/pkgs/development/libraries/harfbuzz/default.nix +++ b/pkgs/development/libraries/harfbuzz/default.nix @@ -38,6 +38,10 @@ stdenv.mkDerivation { rm "$out"/lib/libharfbuzz.* "$dev/lib/pkgconfig/harfbuzz.pc" ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.la ln -s {'${harfbuzz.dev}',"$dev"}/lib/pkgconfig/harfbuzz.pc + ${optionalString stdenv.isDarwin '' + ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.dylib + ln -s {'${harfbuzz.out}',"$out"}/lib/libharfbuzz.0.dylib + ''} ''; meta = with stdenv.lib; {