anchor.diff: -{ stdenv, fetchurl, makeDesktopItem, patchelf
  -, dbus_libs, gcc, glib, libdrm, libffi, libICE, libSM
  -, libX11, libXmu, ncurses, popt, qt5, zlib
  -, qtbase, qtdeclarative, qtwebkit, makeQtWrapper
  +{ stdenv, fetchurl, makeDesktopItem, patchelf, makeWrapper
  +, dbus_libs, fontconfig, freetype, gcc, glib
  +, libdrm, libffi, libICE, libSM
  +, libX11, libXcomposite, libXext, libXmu, libXrender, libxcb
  +, libxml2, libxslt, ncurses, zlib
   }:
   
   # this package contains the daemon version of dropbox
  
positive.code: 
      rm "$out/${appdir}/libdrm.so.2"
      rm "$out/${appdir}/libffi.so.6"
      rm "$out/${appdir}/libicudata.so.42"
      rm "$out/${appdir}/libicui18n.so.42"
      rm "$out/${appdir}/libicuuc.so.42"
      rm "$out/${appdir}/libGL.so.1"
      rm "$out/${appdir}/libpopt.so.0"
      rm "$out/${appdir}/libQt5Core.so.5"
      rm "$out/${appdir}/libQt5DBus.so.5"
      rm "$out/${appdir}/libQt5Gui.so.5"
      rm "$out/${appdir}/libQt5Network.so.5"
      rm "$out/${appdir}/libQt5OpenGL.so.5"
      rm "$out/${appdir}/libQt5PrintSupport.so.5"
      rm "$out/${appdir}/libQt5Qml.so.5"
      rm "$out/${appdir}/libQt5Quick.so.5"
      rm "$out/${appdir}/libQt5Sql.so.5"
      rm "$out/${appdir}/libQt5WebKit.so.5"
      rm "$out/${appdir}/libQt5WebKitWidgets.so.5"
      rm "$out/${appdir}/libQt5Widgets.so.5"
      rm "$out/${appdir}/libX11-xcb.so.1"
  
      rm "$out/${appdir}/qt.conf"
      rm -fr "$out/${appdir}/plugins"
  
      mkdir -p "$out/share/applications"
      cp "${desktopItem}/share/applications/"* $out/share/applications
  
negative.code: 
    ldpath = stdenv.lib.makeLibraryPath
      [
        dbus_libs fontconfig freetype gcc.cc glib libdrm libffi libICE libSM
        libX11 libXcomposite libXext libXmu libXrender libxcb libxml2 libxslt
        ncurses zlib
      ];
  
    desktopItem = makeDesktopItem {
  