From 8baaa433b6775f480fcd25e36dc8b00ed03e0757 Mon Sep 17 00:00:00 2001 From: Daiderd Jordan Date: Tue, 29 May 2018 08:46:39 +0200 Subject: [PATCH] gdk-pixbuf: patch all darwin binaries --- pkgs/development/libraries/gdk-pixbuf/default.nix | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix index d2e3fe5e8ca7..6c97b806f20b 100644 --- a/pkgs/development/libraries/gdk-pixbuf/default.nix +++ b/pkgs/development/libraries/gdk-pixbuf/default.nix @@ -84,8 +84,9 @@ stdenv.mkDerivation rec { # The fixDarwinDylibNames hook doesn't patch binaries. preFixup = stdenv.lib.optionalString stdenv.isDarwin '' - 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 + for f in $out/bin/* $dev/bin/*; do + install_name_tool -change "@rpath/libgdk_pixbuf-2.0.0.dylib" "$out/lib/libgdk_pixbuf-2.0.0.dylib" $f + done ''; # The tests take an excessive amount of time (> 1.5 hours) and memory (> 6 GB).