diff options
author | Daiderd Jordan <daiderd@gmail.com> | 2018-05-29 08:46:39 +0200 |
---|---|---|
committer | Daiderd Jordan <daiderd@gmail.com> | 2018-05-29 08:47:19 +0200 |
commit | 8baaa433b6775f480fcd25e36dc8b00ed03e0757 (patch) | |
tree | 685cfba51711108c2d22707e29335c0d6de9c8cb /pkgs/development/libraries/gdk-pixbuf | |
parent | 437b98cf9c53dc4e7624406f636481d111b5a2e6 (diff) | |
download | nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar.gz nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar.bz2 nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar.lz nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar.xz nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.tar.zst nixlib-8baaa433b6775f480fcd25e36dc8b00ed03e0757.zip |
gdk-pixbuf: patch all darwin binaries
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf')
-rw-r--r-- | pkgs/development/libraries/gdk-pixbuf/default.nix | 5 |
1 files 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). |