teamviewer: fix 97148 (busybox installed issue)

Simply add `coreutils` as a runtime dependency which will
prevent teamviewer from using incomplete busybox implementation
of expected gnu binaries.

As suggested by @Artturin in PR comment:
<https://github.com/NixOS/nixpkgs/pull/140076#issuecomment-934770391>.
main
Raymond Gauthier 3 years ago
parent c55bc5bfd3
commit 4fb188e1d1
No known key found for this signature in database
GPG Key ID: 88FBFBAC9B57497A
  1. 4
      pkgs/applications/networking/remote/teamviewer/default.nix

@ -1,6 +1,6 @@
{ mkDerivation, lib, fetchurl, autoPatchelfHook, makeWrapper, xdg-utils, dbus
, qtbase, qtwebkit, qtwebengine, qtx11extras, qtquickcontrols, getconf, glibc
, libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes
, libXrandr, libX11, libXext, libXdamage, libXtst, libSM, libXfixes, coreutils
, wrapQtAppsHook
}:
@ -75,7 +75,7 @@ mkDerivation rec {
'';
makeWrapperArgs = [
"--prefix PATH : ${lib.makeBinPath [ getconf ]}"
"--prefix PATH : ${lib.makeBinPath [ getconf coreutils ]}"
"--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ libXrandr libX11 libXext libXdamage libXtst libSM libXfixes dbus ]}"
];

Loading…
Cancel
Save