mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-11-12 12:07:47 +03:00
dropbox: use makeQtWrapper
This commit is contained in:
parent
f9a0e9c649
commit
cf63f2dde9
@ -1,7 +1,7 @@
|
||||
{ stdenv, fetchurl, makeDesktopItem, makeWrapper, patchelf
|
||||
{ stdenv, fetchurl, makeDesktopItem, patchelf
|
||||
, dbus_libs, gcc, glib, libdrm, libffi, libICE, libSM
|
||||
, libX11, libXmu, ncurses, popt, qt5, zlib
|
||||
, qtbase, qtdeclarative, qtwebkit
|
||||
, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
|
||||
}:
|
||||
|
||||
# this package contains the daemon version of dropbox
|
||||
@ -62,7 +62,7 @@ in stdenv.mkDerivation {
|
||||
|
||||
sourceRoot = ".dropbox-dist";
|
||||
|
||||
buildInputs = [ makeWrapper patchelf ];
|
||||
nativeBuildInputs = [ makeQtWrapper patchelf ];
|
||||
dontPatchELF = true; # patchelf invoked explicitly below
|
||||
dontStrip = true; # already done
|
||||
|
||||
@ -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"
|
||||
'';
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user