anchor.diff:      substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_config \
         --replace '/var/run/' '/run/'
   
  -    wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  -    wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  -    wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  -    wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes dbus ]}"
  +    wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer \
  +      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  +    wrapProgram $out/share/teamviewer/tv_bin/teamviewerd \
  +      --prefix PATH : "${lib.makeBinPath [ getconf ]}" \
  +      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  +    wrapProgram $out/share/teamviewer/tv_bin/TeamViewer \
  +      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 dbus ]}"
  +    wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop \
  +      --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes dbus ]}"
   
       wrapQtApp $out/share/teamviewer/tv_bin/script/teamviewer
       wrapQtApp $out/bin/teamviewer
  
positive.code:   '';
  
    nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ];
    buildInputs = [ dbus qtbase qtwebkit qtx11extras libX11 ];
    propagatedBuildInputs = [ qtquickcontrols ];
  
    installPhase = ''
  
negative.code: { mkDerivation, lib, fetchurl, autoPatchelfHook, makeWrapper, xdg-utils, dbus
  , qtbase, qtwebkit, qtwebengine, qtx11extras, qtquickcontrols, getconf, glibc
  , libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes
  , wrapQtAppsHook
  }:
  
  mkDerivation rec {
    pname = "teamviewer";
    version = "15.18.5";
  
    src = fetchurl {
      url = "https://dl.tvcdn.de/download/linux/version_15x/teamviewer_${version}_amd64.deb";
      sha256 = "03m8k6qr3mgylik1gqi8qlm0dngb3vf4p6gdwd5hyvz7gh5mdm2r";
    };
  
    unpackPhase = ''
  