diff options
author | Thomas Tuegel <ttuegel@mailbox.org> | 2017-03-29 07:36:10 -0500 |
---|---|---|
committer | Thomas Tuegel <ttuegel@mailbox.org> | 2017-03-29 07:36:10 -0500 |
commit | 97518649fbd567a12a4cd54a10380fc45f3359be (patch) | |
tree | 094f75859473a7b248e015c4c5d399b39a7984f2 /pkgs/applications/networking/dropbox | |
parent | 2e591bac0d24def29e0b1091758a5f2c35d777fd (diff) |
dropbox: patch all files in output
Diffstat (limited to 'pkgs/applications/networking/dropbox')
-rw-r--r-- | pkgs/applications/networking/dropbox/default.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkgs/applications/networking/dropbox/default.nix b/pkgs/applications/networking/dropbox/default.nix index 1a9a83ac95721..097ff84a7046b 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 |