···10, configText ? ""
11}:
12let
13- version = "2303";
1415 sysArch =
16 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
···39 pname = "vmware-horizon-files";
40 inherit version;
41 src = fetchurl {
42- url = "https://download3.vmware.com/software/CART24FQ1_LIN_2303_TARBALL/VMware-Horizon-Client-Linux-2303-8.9.0-21435420.tar.gz";
43- sha256 = "a4dcc6afc0be7641e10e922ccbbab0a10adbf8f2a83e4b5372dfba095091fb78";
44 };
45 nativeBuildInputs = [ makeWrapper ];
46 installPhase = ''
47- mkdir ext $out
48 find ${sysArch} -type f -print0 | xargs -0n1 tar -Cext --strip-components=1 -xf
49- mv ext/bin ext/lib ext/share "$out"/
0005051 # Horizon includes a copy of libstdc++ which is loaded via $LD_LIBRARY_PATH
52 # when it cannot detect a new enough version already present on the system.
53 # The checks are distribution-specific and do not function correctly on NixOS.
54 # Deleting the bundled library is the simplest way to force it to use our version.
55 rm "$out/lib/vmware/gcc/libstdc++.so.6"
56-57- # This library causes the program to core-dump occasionally. Use ours instead.
58- rm -r $out/lib/vmware/view/crtbora
5960 # This opensc library is required to support smartcard authentication during the
61 # initial connection to Horizon.
···76 atk
77 cairo
78 dbus
079 fontconfig
80 freetype
81 gdk-pixbuf
···10, configText ? ""
11}:
12let
13+ version = "2306";
1415 sysArch =
16 if stdenv.hostPlatform.system == "x86_64-linux" then "x64"
···39 pname = "vmware-horizon-files";
40 inherit version;
41 src = fetchurl {
42+ url = "https://download3.vmware.com/software/CART24FQ2_LIN_2306_TARBALL/VMware-Horizon-Client-Linux-2306-8.10.0-21964631.tar.gz";
43+ sha256 = "6051f6f1617385b3c211b73ff42dad27e2d22362df6ffd2f3d9f559d0b5743ea";
44 };
45 nativeBuildInputs = [ makeWrapper ];
46 installPhase = ''
47+ mkdir ext
48 find ${sysArch} -type f -print0 | xargs -0n1 tar -Cext --strip-components=1 -xf
49+50+ chmod -R u+w ext/usr/lib
51+ mv ext/usr $out
52+ cp -r ext/bin ext/lib $out/
5354 # Horizon includes a copy of libstdc++ which is loaded via $LD_LIBRARY_PATH
55 # when it cannot detect a new enough version already present on the system.
56 # The checks are distribution-specific and do not function correctly on NixOS.
57 # Deleting the bundled library is the simplest way to force it to use our version.
58 rm "$out/lib/vmware/gcc/libstdc++.so.6"
0005960 # This opensc library is required to support smartcard authentication during the
61 # initial connection to Horizon.
···76 atk
77 cairo
78 dbus
79+ file
80 fontconfig
81 freetype
82 gdk-pixbuf