Merge pull request #175985 from kjeremy/open-vm-tools-fix-fuse

open-vm-tools: fix shared folders

authored by

Sandro and committed by
GitHub
0e2a0359 015138ff

+8 -1
+8 -1
pkgs/applications/virtualization/open-vm-tools/default.nix
··· 2 2 , bash, fuse3, libmspack, openssl, pam, xercesc, icu, libdnet, procps, libtirpc, rpcsvc-proto 3 3 , libX11, libXext, libXinerama, libXi, libXrender, libXrandr, libXtst 4 4 , pkg-config, glib, gdk-pixbuf-xlib, gtk3, gtkmm3, iproute2, dbus, systemd, which 5 - , libdrm, udev 5 + , libdrm, udev, util-linux 6 6 , withX ? true 7 7 }: 8 8 ··· 37 37 38 38 # Make reboot work, shutdown is not in /sbin on NixOS 39 39 sed -i 's,/sbin/shutdown,shutdown,' lib/system/systemLinux.c 40 + 41 + # Fix paths to fuse3 (we do not use fuse2 so that is not modified) 42 + sed -i 's,/bin/fusermount3,${fuse3}/bin/fusermount3,' vmhgfs-fuse/config.c 43 + 44 + substituteInPlace services/plugins/vix/foundryToolsDaemon.c \ 45 + --replace "/usr/bin/vmhgfs-fuse" "${placeholder "out"}/bin/vmhgfs-fuse" \ 46 + --replace "/bin/mount" "${util-linux}/bin/mount" 40 47 ''; 41 48 42 49 configureFlags = [