Change:
Describe the bug When busybox is installed - teamviewer cannot starts correctly To Reproduce Steps to reproduce the behavior: " = true;" to busybox to "environment.systemPackages = with pkgs;" to launch the teamviewer Expected behavior Teamviewer gui starts Screenshots If applicable, add screenshots to help explain your problem. ! Notify maintainers <!-- Please @ people who are in the list of the offending package or module. If in doubt, check for whoever last touched something. -- Metadata these paths will be fetched (0.05 MiB download, 0.28 MiB unpacked): /nix/store/d43v6bx7r6fcaq3fbbfd5mwh1f5s7rmg-bash-interactive-4.4-p23-dev copying path '/nix/store/d43v6bx7r6fcaq3fbbfd5mwh1f5s7rmg-bash-interactive-4.4-p23-dev' from ''... system: host os: multi-user?: sandbox: version: channels(root): nixpkgs: Maintainer information:
I marked this as stale due to inactivity. &rarr;
This should be fixed by . Please confirm by closing if it indeed does.

Discussion:
environment.systemPackages = [ pkgs.teamviewer ]; <ins> services.dbus.packages = [ pkgs.teamviewer ]; </ins> systemd.services.teamviewerd = { description = "TeamViewer remote control daemon"; wantedBy = [ "multi-user.target" ]; <del> after = [ "NetworkManager-wait-online.service" "network.target" ]; </del> <ins> after = [ "NetworkManager-wait-online.service" "network.target" "dbus.service" ]; requires = [ "dbus.service" ]; </ins> preStart = "mkdir -pv /var/lib/teamviewer /var/log/teamviewer"; startLimitIntervalSec = 60; startLimitBurst = 10; serviceConfig = { <del> Type = "forking"; ExecStart = "${pkgs.teamviewer}/bin/teamviewerd -d"; </del> <ins> Type = "simple"; ExecStart = "${pkgs.teamviewer}/bin/teamviewerd -f"; </ins> PIDFile = "/run/teamviewerd.pid"; ExecReload = "${pkgs.coreutils}/bin/kill -HUP $MAINPID"; Restart = "on-abort";

{ mkDerivation, lib, fetchurl, autoPatchelfHook, makeWrapper, xdg-utils, dbus <del> , qtbase, qtwebkit, qtx11extras, qtquickcontrols, glibc , libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes </del> <ins> , qtbase, qtwebkit, qtwebengine, qtx11extras, qtquickcontrols, getconf, glibc , libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes, coreutils </ins> , wrapQtAppsHook }: mkDerivation rec { pname = "teamviewer"; <del> version = "15.15.5"; </del> <ins> version = "15.22.3"; </ins> src = fetchurl { url = "https://dl.tvcdn.de/download/linux/version_15x/teamviewer_${version}_amd64.deb"; <del> sha256 = "sha256-H/CSc2RcjI+Fm8awYcXm3ioAJpbSNEMwGVrTozMux3A="; </del> <ins> sha256 = "15fvzhdq7mnx2l2w4byvij8ww16qwdlkbadal60rm66yzv79mv9w"; </ins> }; unpackPhase = ''

''; nativeBuildInputs = [ autoPatchelfHook makeWrapper wrapQtAppsHook ]; <del> buildInputs = [ dbus qtbase qtwebkit qtx11extras libX11 ]; </del> <ins> buildInputs = [ dbus getconf qtbase qtwebkit qtwebengine qtx11extras libX11 ]; </ins> propagatedBuildInputs = [ qtquickcontrols ]; installPhase = ''

rm -R  $out/share/teamviewer/logfiles  $out/share/teamviewer/config  <ins> $out/share/teamviewer/tv_bin/RTlib  </ins> $out/share/teamviewer/tv_bin/xdg-utils  $out/share/teamviewer/tv_bin/script/{teamviewer_setup,teamviewerd.sysv,teamviewerd.service,teamviewerd.*.conf,libdepend,tv-delayed-start.sh}

ln -s /var/log/teamviewer $out/share/teamviewer/logfiles ln -s ${xdg-utils}/bin $out/share/teamviewer/tv_bin/xdg-utils <ins> declare in_script_dir="./opt/teamviewer/tv_bin/script" install -d "$out/share/dbus-1/services" install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.service" "$out/share/dbus-1/services" substituteInPlace "$out/share/dbus-1/services/com.teamviewer.TeamViewer.service"  --replace '/opt/teamviewer/tv_bin/TeamViewer'  "$out/share/teamviewer/tv_bin/TeamViewer" install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.Desktop.service" "$out/share/dbus-1/services" substituteInPlace "$out/share/dbus-1/services/com.teamviewer.TeamViewer.Desktop.service"  --replace '/opt/teamviewer/tv_bin/TeamViewer_Desktop'  "$out/share/teamviewer/tv_bin/TeamViewer_Desktop" install -d "$out/share/dbus-1/system.d" install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.Daemon.conf" "$out/share/dbus-1/system.d" install -d "$out/share/polkit-1/actions" install -m 644 "$in_script_dir/com.teamviewer.TeamViewer.policy" "$out/share/polkit-1/actions" substituteInPlace "$out/share/polkit-1/actions/com.teamviewer.TeamViewer.policy"  --replace '/opt/teamviewer/tv_bin/script/execscript'  "$out/share/teamviewer/tv_bin/script/execscript" </ins> for i in 16 20 24 32 48 256; do size=$i"x"$i

--replace '/lib64/ld-linux-x86-64.so.2' '${glibc.out}/lib/ld-linux-x86-64.so.2' substituteInPlace $out/share/teamviewer/tv_bin/script/tvw_config  --replace '/var/run/' '/run/' <ins> ''; </ins> <del> wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}" wrapProgram $out/share/teamviewer/tv_bin/teamviewerd --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}" wrapProgram $out/share/teamviewer/tv_bin/TeamViewer --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [ libXrandr libX11 ]}" wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop --prefix LD_LIBRARY_PATH : "${lib.makeLibraryPath [libXrandr libX11 libXext libXdamage libXtst libSM libXfixes ]}" </del> <ins> makeWrapperArgs = [ "--prefix PATH : ${lib.makeBinPath [ getconf coreutils ]}" "--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libXrandr libX11 libXext libXdamage libXtst libSM libXfixes dbus ]}" ]; </ins> <del> wrapQtApp $out/share/teamviewer/tv_bin/script/teamviewer wrapQtApp $out/bin/teamviewer </del> <ins> postFixup = '' wrapProgram $out/share/teamviewer/tv_bin/teamviewerd ''${makeWrapperArgs[@]} # tv_bin/script/teamviewer runs tvw_main which runs tv_bin/TeamViewer wrapProgram $out/share/teamviewer/tv_bin/script/teamviewer ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]} wrapProgram $out/share/teamviewer/tv_bin/teamviewer-config ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]} wrapProgram $out/share/teamviewer/tv_bin/TeamViewer_Desktop ''${makeWrapperArgs[@]} ''${qtWrapperArgs[@]} </ins> ''; dontStrip = true; <ins> dontWrapQtApps = true; </ins> preferLocalBuild = true; meta = with lib; {

license = licenses.unfree; description = "Desktop sharing application, providing remote support and online meetings"; platforms = [ "x86_64-linux" ]; <del> maintainers = with maintainers; [ jagajaga dasuxullebt ]; </del> <ins> maintainers = with maintainers; [ jagajaga dasuxullebt jraygauthier ]; </ins> }; }

ted = callPackage ../tools/typesetting/ted { }; <del> teamviewer = libsForQt514.callPackage ../applications/networking/remote/teamviewer { }; </del> <ins> teamviewer = libsForQt515.callPackage ../applications/networking/remote/teamviewer { }; </ins> teleconsole = callPackage ../tools/misc/teleconsole { };