open-vm-tools: use makeBinPath

This commit is contained in:
Tuomas Tynkkynen 2016-08-23 04:04:45 +03:00
parent 005b644b30
commit 0f3c0e6801

View file

@ -36,9 +36,7 @@ in stdenv.mkDerivation rec {
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"
--prefix PATH ':' "${lib.makeBinPath [ iproute dbus systemd ]}"
'';
meta = with stdenv.lib; {