From d4771930294b09dac946566b9f4d8e79c8e2ba28 Mon Sep 17 00:00:00 2001 From: Thomas Tuegel Date: Wed, 29 Mar 2017 07:36:10 -0500 Subject: [PATCH] dropbox: patch all files in output (cherry picked from commit 97518649fbd567a12a4cd54a10380fc45f3359be) --- pkgs/applications/networking/dropbox/default.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkgs/applications/networking/dropbox/default.nix b/pkgs/applications/networking/dropbox/default.nix index 1a9a83ac9572..097ff84a7046 100644 --- a/pkgs/applications/networking/dropbox/default.nix +++ b/pkgs/applications/networking/dropbox/default.nix @@ -104,7 +104,7 @@ in stdenv.mkDerivation { INTERP=$(cat $NIX_CC/nix-support/dynamic-linker) RPATH="${ldpath}:$out/${appdir}" getType='s/ *Type: *\([A-Z]*\) (.*/\1/' - find "$out/${appdir}" -type f -a -perm -0100 -print | while read obj; do + find "$out/${appdir}" -type f -print | while read obj; do dynamic=$(readelf -S "$obj" 2>/dev/null | grep "DYNAMIC" || true) if [[ -n "$dynamic" ]]; then