Merge pull request #227123 from buckley310/2023-04-19-vmware
vmware-horizon-client: use Chroot instead of Bubblewrap
This commit is contained in:
commit
a8a24baf5a
1 changed files with 8 additions and 2 deletions
|
@ -1,10 +1,11 @@
|
|||
{ stdenv
|
||||
, lib
|
||||
, buildFHSEnv
|
||||
, buildFHSEnvChroot
|
||||
, fetchurl
|
||||
, gsettings-desktop-schemas
|
||||
, makeDesktopItem
|
||||
, makeWrapper
|
||||
, opensc
|
||||
, writeTextDir
|
||||
, configText ? ""
|
||||
}:
|
||||
|
@ -53,11 +54,16 @@ let
|
|||
# This library causes the program to core-dump occasionally. Use ours instead.
|
||||
rm -r $out/lib/vmware/view/crtbora
|
||||
|
||||
# This opensc library is required to support smartcard authentication during the
|
||||
# initial connection to Horizon.
|
||||
mkdir $out/lib/vmware/view/pkcs11
|
||||
ln -s ${opensc}/lib/pkcs11/opensc-pkcs11.so $out/lib/vmware/view/pkcs11/libopenscpkcs11.so
|
||||
|
||||
${lib.concatMapStrings wrapBinCommands bins}
|
||||
'';
|
||||
};
|
||||
|
||||
vmwareFHSUserEnv = name: buildFHSEnv {
|
||||
vmwareFHSUserEnv = name: buildFHSEnvChroot {
|
||||
inherit name;
|
||||
|
||||
runScript = "${vmwareHorizonClientFiles}/bin/${name}_wrapper";
|
||||
|
|
Loading…
Reference in a new issue