From 245db687329de630466dbcb940e872c5a0983d7d Mon Sep 17 00:00:00 2001 From: Jun Hao Date: Sat, 23 Jul 2016 13:56:08 +0800 Subject: [PATCH] harfbuzz-icu: symlink dylibs from harfbuzz on OSX --- pkgs/development/libraries/harfbuzz/default.nix | 4 ++++ 1 file changed, 4 insertions(+) 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; {