diff options
author | Michael Adler <therisen06@gmail.com> | 2023-07-10 09:28:56 +0200 |
---|---|---|
committer | Michael Adler <therisen06@gmail.com> | 2023-07-10 09:28:56 +0200 |
commit | 724040fe18c59d8ab93d805f8572e58f716d56d5 (patch) | |
tree | 01a3d56eb96c3c81a2c397a628fdc8b670206beb /pkgs/applications/networking/remote/citrix-workspace/generic.nix | |
parent | 31b0d9b169ce496b797c40e554d89a10d5b8270e (diff) |
citrix_workspace: remove obsolete version checks
The oldest supported version is >= 23, so there is no need to have version checks for < 23 versions.
Diffstat (limited to 'pkgs/applications/networking/remote/citrix-workspace/generic.nix')
-rw-r--r-- | pkgs/applications/networking/remote/citrix-workspace/generic.nix | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/pkgs/applications/networking/remote/citrix-workspace/generic.nix b/pkgs/applications/networking/remote/citrix-workspace/generic.nix index b52d9ff695ae4..cd5f21a15ed8a 100644 --- a/pkgs/applications/networking/remote/citrix-workspace/generic.nix +++ b/pkgs/applications/networking/remote/citrix-workspace/generic.nix @@ -82,9 +82,11 @@ stdenv.mkDerivation rec { libcxxabi libjpeg libpng12 + libpulseaudio libsoup libvorbis libxml2 + llvmPackages_12.libunwind mesa nspr nss @@ -99,9 +101,7 @@ stdenv.mkDerivation rec { xorg.libXScrnSaver xorg.libXtst zlib - ] ++ lib.optional (lib.versionOlder version "20.04") e2fsprogs - ++ lib.optional (lib.versionAtLeast version "20.10") libpulseaudio - ++ lib.optional (lib.versionAtLeast version "21.12") llvmPackages_12.libunwind; + ]; runtimeDependencies = [ glib @@ -122,7 +122,7 @@ stdenv.mkDerivation rec { installPhase = let icaFlag = program: if (builtins.match "selfservice(.*)" program) != null then "--icaroot" - else if (lib.versionAtLeast version "21.12" && builtins.match "wfica(.*)" program != null) then null + else if (builtins.match "wfica(.*)" program != null) then null else "-icaroot"; wrap = program: '' wrapProgram $out/opt/citrix-icaclient/${program} \ @@ -143,8 +143,7 @@ stdenv.mkDerivation rec { mkWrappers = lib.concatMapStringsSep "\n"; - toWrap = [ "wfica" "selfservice" "util/configmgr" "util/conncenter" "util/ctx_rehash" ] - ++ lib.optional (lib.versionOlder version "20.06") "selfservice_old"; + toWrap = [ "wfica" "selfservice" "util/configmgr" "util/conncenter" "util/ctx_rehash" ]; in '' runHook preInstall |