Commit 2417bdf1 authored by Naoki OKAMURA's avatar Naoki OKAMURA

updated: use latest VMware workstation Player

parent 91507f56
......@@ -7,21 +7,21 @@ let
'';
vmci-src = requireFile {
name = "vmci.tar";
sha256 = "1jv0ba9clyp8s6xyyackf947yy27g0l0r2n02mxknglija6dq4y5";
sha256 = "14hz1ca0gxb4wm1ilq131b96j14sxaqplyvyn7xmjav8pckd2b23";
message = message;
};
vsock-src = requireFile {
name = "vsock.tar";
sha256 = "13zm8mvx3ipb6kzp840ks2zlf933n1r9qrs5aflwldyqm7a0mfac";
sha256 = "1sz78yl14fwv4a5sd64qxsq7vz6briq7mss7d8qnplxmp0j45d9p";
message = message;
};
host-src = fetchurl {
url = "https://codeload.github.com/mkubecek/vmware-host-modules/tar.gz/p15.0.4-k5.1";
sha256 = "1h8pn69zcz7xdvyqlvx7hlv7c4rwyzxzdd4c9nalr8fd4jgz16gd";
url = "https://codeload.github.com/mkubecek/vmware-host-modules/tar.gz/p15.1.0-k5.1";
sha256 = "1bb9a39w8bc3snxi69hnbw6naw57blgad16cf443hf7iq72bs9mr";
};
in stdenv.mkDerivation rec {
name = "vmware-host-modules-${version}";
version = "15.0.4";
version = "15.1.0";
srcs = [ vmci-src vsock-src host-src ];
hardeningDisable = [
......
......@@ -3,7 +3,7 @@
state=$HOME/local/dockerapp/vmware
docker run -it --init --name="vmware-postbuild" \
--volume=$HOME/Downloads/VMware-Player-15.0.4-12990004.x86_64.bundle:/tmp/vmware.bundle:ro \
--volume=$HOME/Downloads/VMware-Player-15.1.0-13591040.x86_64.bundle:/tmp/vmware.bundle:ro \
\
--volume=/home/$(id -un)/local/dockerapp/vmware:/app:rw \
\
......
......@@ -15,7 +15,7 @@ docker run --rm -t --init --privileged --net host \
\
--device=/dev \
--volume=/sys:/sys:ro \
--volume=/run/opengl-driver:/run/opengl-driver:ro \
--volume=/run/opengl-driver:/opt/opengl-driver:ro \
\
--volume=/nix:/nix:ro \
--volume=/run/current-system/sw/bin:/run/current-system/sw/bin:ro \
......@@ -32,7 +32,7 @@ docker run --rm -t --init --privileged --net host \
--volume=$state/vmware:/etc/vmware:rw \
--volume=$state/isoimages:/usr/lib/vmware/isoimages:rw \
--volume=$state/home:/app:rw \
--volume=/data/vm:/data/vm:rw \
--volume=$HOME/local/vm:/data/vm:rw \
--volume=/data/active:/data/active:rw \
--volume=$HOME/Downloads:/data/downloads:rw \
\
......
......@@ -4,7 +4,7 @@ Version=1.0
Name=VMware Player
Comment=VMware Workstation Player
Path=/etc/nixos/packages/dockerapp/vmware-workstation-player
Exec=/etc/nixos/packages/dockerapp/vmware-workstation-player %U
Exec=/etc/nixos/packages/dockerapp/vmware-workstation-player/run %U
Icon=virt-manager
Terminal=false
StartupNotify=true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment