Skip to content

Commit

Permalink
dropbox: wrap as any other Qt application
Browse files Browse the repository at this point in the history
  • Loading branch information
ttuegel committed Mar 29, 2017
1 parent 1d8d6d5 commit 3c96a53
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions pkgs/applications/networking/dropbox/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
, libdrm, libffi, libICE, libSM
, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
, libxml2, libxslt, ncurses, zlib
, qtbase, qtdeclarative, qtwebkit
, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
}:

# this package contains the daemon version of dropbox
Expand Down Expand Up @@ -68,8 +68,8 @@ in stdenv.mkDerivation {

sourceRoot = ".dropbox-dist";

nativeBuildInputs = [ makeWrapper patchelf ];
dontPatchELF = true; # patchelf invoked explicitly below
nativeBuildInputs = [ makeQtWrapper patchelf ];
dontStrip = true; # already done

installPhase = ''
Expand Down Expand Up @@ -102,7 +102,7 @@ in stdenv.mkDerivation {
mkdir -p "$out/bin"
RPATH="${ldpath}:$out/${appdir}"
makeWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
makeQtWrapper "$out/${appdir}/dropbox" "$out/bin/dropbox" \
--prefix LD_LIBRARY_PATH : "$RPATH"
chmod 755 $out/${appdir}/dropbox
Expand Down

0 comments on commit 3c96a53

Please sign in to comment.