gdk-pixbuf: also patch binaries in dev output for darwin

This commit is contained in:
Daiderd Jordan 2018-05-29 01:05:58 +02:00
parent bf3e3f7287
commit 11b799db8b
No known key found for this signature in database
GPG Key ID: D02435D05B810C96

View File

@ -84,7 +84,8 @@ stdenv.mkDerivation rec {
# The fixDarwinDylibNames hook doesn't patch binaries. # The fixDarwinDylibNames hook doesn't patch binaries.
preFixup = stdenv.lib.optionalString stdenv.isDarwin '' preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$out/lib/libgdk_pixbuf-2.0.0.dylib" $out/bin/gdk-pixbuf-thumbnailer install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$dev/lib/libgdk_pixbuf-2.0.0.dylib" $out/bin/gdk-pixbuf-thumbnailer
install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$out/lib/libgdk_pixbuf-2.0.0.dylib" $dev/bin/gdk-pixbuf-thumbnailer
''; '';
# The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB). # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).