mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +01:00
open-vm-tools: use makeBinPath
This commit is contained in:
parent
005b644b30
commit
0f3c0e6801
1 changed files with 1 additions and 3 deletions
|
@ -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; {
|
||||
|
|
Loading…
Reference in a new issue