dropbox: use wmctrl from nixpkgs

This commit is contained in:
Peter Hoeg 2017-04-19 20:56:18 +08:00
parent f0fac3b578
commit c4c33eaca1

View File

@ -1,9 +1,9 @@
{ stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper { stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper, makeQtWrapper
, dbus_libs, fontconfig, freetype, gcc, glib , dbus_libs, fontconfig, freetype, gcc, glib
, libdrm, libffi, libICE, libSM , libdrm, libffi, libICE, libSM
, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb , libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
, libxml2, libxslt, ncurses, zlib , libxml2, libxslt, ncurses, zlib
, qtbase, qtdeclarative, qtwebkit, makeQtWrapper , qtbase, qtdeclarative, qtwebkit, wmctrl
}: }:
# this package contains the daemon version of dropbox # this package contains the daemon version of dropbox
@ -98,6 +98,9 @@ in stdenv.mkDerivation {
--prefix LD_LIBRARY_PATH : "$RPATH" --prefix LD_LIBRARY_PATH : "$RPATH"
chmod 755 $out/${appdir}/dropbox chmod 755 $out/${appdir}/dropbox
rm $out/${appdir}/wmctrl
ln -s ${wmctrl}/bin/wmctrl $out/${appdir}/wmctrl
''; '';
fixupPhase = '' fixupPhase = ''