···1010, configText ? ""
1111}:
1212let
1313- version = "2303";
1313+ version = "2306";
14141515 sysArch =
1616 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
···3939 pname = "vmware-horizon-files";
4040 inherit version;
4141 src = fetchurl {
4242- url = "https://download3.vmware.com/software/CART24FQ1_LIN_2303_TARBALL/VMware-Horizon-Client-Linux-2303-8.9.0-21435420.tar.gz";
4343- sha256 = "a4dcc6afc0be7641e10e922ccbbab0a10adbf8f2a83e4b5372dfba095091fb78";
4242+ url = "https://download3.vmware.com/software/CART24FQ2_LIN_2306_TARBALL/VMware-Horizon-Client-Linux-2306-8.10.0-21964631.tar.gz";
4343+ sha256 = "6051f6f1617385b3c211b73ff42dad27e2d22362df6ffd2f3d9f559d0b5743ea";
4444 };
4545 nativeBuildInputs = [ makeWrapper ];
4646 installPhase = ''
4747- mkdir ext $out
4747+ mkdir ext
4848 find ${sysArch} -type f -print0 | xargs -0n1 tar -Cext --strip-components=1 -xf
4949- mv ext/bin ext/lib ext/share "$out"/
4949+5050+ chmod -R u+w ext/usr/lib
5151+ mv ext/usr $out
5252+ cp -r ext/bin ext/lib $out/
50535154 # Horizon includes a copy of libstdc++ which is loaded via $LD_LIBRARY_PATH
5255 # when it cannot detect a new enough version already present on the system.
5356 # The checks are distribution-specific and do not function correctly on NixOS.
5457 # Deleting the bundled library is the simplest way to force it to use our version.
5558 rm "$out/lib/vmware/gcc/libstdc++.so.6"
5656-5757- # This library causes the program to core-dump occasionally. Use ours instead.
5858- rm -r $out/lib/vmware/view/crtbora
59596060 # This opensc library is required to support smartcard authentication during the
6161 # initial connection to Horizon.
···7676 atk
7777 cairo
7878 dbus
7979+ file
7980 fontconfig
8081 freetype
8182 gdk-pixbuf