Skip to content

Commit

Permalink
dropbox: patch all files in output
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Mar 29, 2017
1 parent 2e591ba commit 9751864
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkgs/applications/networking/dropbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 9751864

Please sign in to comment.