summary refs log tree commit diff
path: root/pkgs/development/libraries/gdk-pixbuf
diff options
context:
space:
mode:
authorOrivej Desh <orivej@gmx.fr>2018-06-06 09:48:23 +0000
committerOrivej Desh <orivej@gmx.fr>2018-06-06 10:06:45 +0000
commit06cdd7d83f388b880081be7bbcd81cd2afaa2599 (patch)
tree3cffe01d37017129424a9999034c325f80ac5cad /pkgs/development/libraries/gdk-pixbuf
parent14987c6336ba956b433f5384cf2ac3454440f778 (diff)
downloadnixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar.gz
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar.bz2
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar.lz
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar.xz
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.tar.zst
nixpkgs-06cdd7d83f388b880081be7bbcd81cd2afaa2599.zip
Revert "gdk-pixbuf: patch library rpath references on darwin"
This reverts commit 6bb08e881dd41c7cda2569126bec930007c2cc0f.

See the next commit.
Diffstat (limited to 'pkgs/development/libraries/gdk-pixbuf')
-rw-r--r--pkgs/development/libraries/gdk-pixbuf/default.nix6
1 files changed, 1 insertions, 5 deletions
diff --git a/pkgs/development/libraries/gdk-pixbuf/default.nix b/pkgs/development/libraries/gdk-pixbuf/default.nix
index 849e72d9a97..ea14e2fab2d 100644
--- a/pkgs/development/libraries/gdk-pixbuf/default.nix
+++ b/pkgs/development/libraries/gdk-pixbuf/default.nix
@@ -82,12 +82,8 @@ stdenv.mkDerivation rec {
       $dev/bin/gdk-pixbuf-query-loaders --update-cache
     '';
 
-  # The fixDarwinDylibNames hook doesn't patch library references or binaries.
+  # The fixDarwinDylibNames hook doesn't patch binaries.
   preFixup = stdenv.lib.optionalString stdenv.isDarwin ''
-    for f in $(find $out/lib -name '*.dylib'); do
-        install_name_tool -change @rpath/libgdk_pixbuf-2.0.0.dylib $out/lib/libgdk_pixbuf-2.0.0.dylib $f
-    done
-
     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