From eb0207f13203dbf1675b3caa7c17dbce8c9d3e94 Mon Sep 17 00:00:00 2001 From: Maximilian Bosch Date: Tue, 7 Aug 2018 23:48:02 +0200 Subject: [PATCH] citrix_receiver: document installation pitfalls and `extraCerts` (#44635) Since #44522 it's possible to specify custom certificates for the Citrix receiver. As it took me some time to create a proper setup Citrix can behave fairly unexpected. I mostly covered two aspects: * Don't install Citrix with `nix run`: when `citrix.desktop` is linked to $XDG_CONFIG_DIRS, it's possible to start a session directly from the browser when loading `.ica` files which makes the usage *way* easier. * It's possible to add custom certificates using the Citrix wrapper. A new store path with the original derivation and the certificates will be created and therefore no rebuild of the package is needed when adding new certs. --- doc/package-notes.xml | 48 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 48 insertions(+) diff --git a/doc/package-notes.xml b/doc/package-notes.xml index 68d8f18e75ac..0634432fe95a 100644 --- a/doc/package-notes.xml +++ b/doc/package-notes.xml @@ -705,4 +705,52 @@ overrides = super: self: rec { +
+ Citrix Receiver + + + The Citrix Receiver is a remote + desktop viewer which provides access to + XenDesktop installations. + + +
+ Basic usage + + The tarball archive needs to be downloaded manually as the licenses agreements of the vendor + need to be accepted first. This is available at the + download page at citrix.com. + Then run nix-prefetch-url file://$PWD/linuxx64-$version.tar.gz. + With the archive available in the store the package can be built and installed with Nix. + + + + Note: it's recommended to install Citrix Receiver using + nix-env -i or globally to ensure that the .desktop files + are installed properly into $XDG_CONFIG_DIRS. Otherwise it won't + be possible to open .ica files + automatically from the browser to start a Citrix connection. + +
+
+ Custom certificates + + The Citrix Receiver in nixpkgs trusts several certificates + from the Mozilla database by default. + However several companies using Citrix might require their own corporate certificate. On distros with imperative + packaging these certs can be stored easily in + $ICAROOT, + however this directory is a store path in nixpkgs. In order to work around this issue the package provides a simple + mechanism to add custom certificates without rebuilding the entire package using symlinkJoin: + + + { config.allowUnfree = true; }; +let extraCerts = [ ./custom-cert-1.pem ./custom-cert-2.pem /* ... */ ]; in +citrix_receiver.override { + inherit extraCerts; +}]]> + + +
+