vmware-horizon-client: include opensc for smartcard support
This commit is contained in:
parent
04aa191615
commit
5594826e59
1 changed files with 6 additions and 0 deletions
|
@ -5,6 +5,7 @@
|
|||
, gsettings-desktop-schemas
|
||||
, makeDesktopItem
|
||||
, makeWrapper
|
||||
, opensc
|
||||
, writeTextDir
|
||||
, configText ? ""
|
||||
}:
|
||||
|
@ -53,6 +54,11 @@ 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}
|
||||
'';
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue