open-vm-tools: fixes host VMware errors
This commit is contained in:
parent
0ecef73966
commit
133dc10e5a
@ -25,6 +25,8 @@ in
|
||||
serviceConfig.ExecStart = "${open-vm-tools}/bin/vmtoolsd";
|
||||
};
|
||||
|
||||
environment.etc."vmware-tools".source = "${pkgs.open-vm-tools}/etc/vmware-tools/*";
|
||||
|
||||
services.xserver = {
|
||||
videoDrivers = mkOverride 50 [ "vmware" ];
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
{ stdenv, lib, fetchFromGitHub, makeWrapper, autoreconfHook,
|
||||
libmspack, openssl, pam, xercesc, icu, libdnet, procps,
|
||||
xlibsWrapper, libXinerama, libXi, libXrender, libXrandr, libXtst,
|
||||
pkgconfig, glib, gtk, gtkmm }:
|
||||
pkgconfig, glib, gtk, gtkmm, iproute, dbus, systemd }:
|
||||
|
||||
let
|
||||
majorVersion = "10.0";
|
||||
@ -33,6 +33,14 @@ in stdenv.mkDerivation rec {
|
||||
|
||||
configureFlags = "--without-kernel-modules --without-xmlsecurity";
|
||||
|
||||
postInstall = ''
|
||||
sed -i 's,which ,command -v ,' "$out/etc/vmware-tools/scripts/vmware/network"
|
||||
wrapProgram "$out/etc/vmware-tools/scripts/vmware/network" \
|
||||
--prefix PATH ':' "${iproute}/bin" \
|
||||
--prefix PATH ':' "${dbus}/bin" \
|
||||
--prefix PATH ':' "${systemd}/bin"
|
||||
'';
|
||||
|
||||
meta = with stdenv.lib; {
|
||||
homepage = "https://github.com/vmware/open-vm-tools";
|
||||
description = "Set of tools for VMWare guests to improve host-guest interaction";
|
||||
|
Loading…
Reference in New Issue
Block a user