diff options
author | Sean Buckley <sean.bck@gmail.com> | 2023-04-19 14:08:18 -0400 |
---|---|---|
committer | Sean Buckley <sean.bck@gmail.com> | 2023-04-19 15:05:35 -0400 |
commit | 5594826e597bf5752f37bae26a9c1af0b4f12d71 (patch) | |
tree | 37403d8fd296f89e2c53cb1b118f6dfd0d72fba5 /pkgs/applications/networking/remote | |
parent | 04aa1916154f3a2c02b01e8f1808d030b2d08bf0 (diff) |
vmware-horizon-client: include opensc for smartcard support
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r-- | pkgs/applications/networking/remote/vmware-horizon-client/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix index 34f7f9b22eb9a..6b6e152efab32 100644 --- a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix +++ b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix @@ -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} ''; }; |