summary refs log tree commit diff
path: root/pkgs/development/libraries/wtk/builder.sh
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/development/libraries/wtk/builder.sh')
-rw-r--r--pkgs/development/libraries/wtk/builder.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/pkgs/development/libraries/wtk/builder.sh b/pkgs/development/libraries/wtk/builder.sh
index ef0085da924..86f2719537c 100644
--- a/pkgs/development/libraries/wtk/builder.sh
+++ b/pkgs/development/libraries/wtk/builder.sh
@@ -21,7 +21,7 @@ rpath=
 for i in $libraries; do
     rpath=$rpath${rpath:+:}$i/lib
 done
-find $out -type f -perm +100 \
+find $out -type f -perm -0100 \
     -exec patchelf --interpreter "$(cat $NIX_CC/nix-support/dynamic-linker)" {} \;
-find $out -type f -perm +100 \
+find $out -type f -perm -0100 \
     -exec patchelf --set-rpath "$rpath" {} \;