diff options
author | Michael Adler <therisen06@gmail.com> | 2023-07-10 09:20:52 +0200 |
---|---|---|
committer | Michael Adler <therisen06@gmail.com> | 2023-07-10 09:20:52 +0200 |
commit | 31b0d9b169ce496b797c40e554d89a10d5b8270e (patch) | |
tree | 14fd3e34e06d1cf95b90f02faa1071873ac2e798 /pkgs/applications/networking/remote/citrix-workspace/generic.nix | |
parent | 73e8d61d9dd81186e2768dc809c5d3d498a35ed6 (diff) | |
download | nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.gz nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.bz2 nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.lz nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.xz nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.tar.zst nixpkgs-31b0d9b169ce496b797c40e554d89a10d5b8270e.zip |
citrix_workspace: 23.02.0 -> 23.07.0
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, 10 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/citrix-workspace/generic.nix b/pkgs/applications/networking/remote/citrix-workspace/generic.nix index 5051d2308f0..b52d9ff695a 100644 --- a/pkgs/applications/networking/remote/citrix-workspace/generic.nix +++ b/pkgs/applications/networking/remote/citrix-workspace/generic.nix @@ -3,7 +3,7 @@ , heimdal, krb5, libsoup, libvorbis, speex, openssl, zlib, xorg, pango, gtk2 , gnome2, mesa, nss, nspr, gtk_engines, freetype, dconf, libpng12, libxml2 , libjpeg, libredirect, tzdata, cacert, systemd, libcxxabi, libcxx, e2fsprogs, symlinkJoin -, libpulseaudio, pcsclite, glib-networking, llvmPackages_12 +, libpulseaudio, pcsclite, glib-networking, llvmPackages_12, opencv4 , homepage, version, prefix, hash @@ -88,6 +88,7 @@ stdenv.mkDerivation rec { mesa nspr nss + opencv4 openssl' pango speex @@ -198,6 +199,14 @@ stdenv.mkDerivation rec { # Make sure that `autoPatchelfHook` is executed before # running `ctx_rehash`. dontAutoPatchelf = true; + preFixup = '' + find $out/opt/citrix-icaclient/lib -name "libopencv_imgcodecs.so.*" | while read -r fname; do + # lib needs libtiff.so.5, but nixpkgs provides libtiff.so.6 + patchelf --replace-needed libtiff.so.5 libtiff.so $fname + # lib needs libjpeg.so.8, but nixpkgs provides libjpeg.so.9 + patchelf --replace-needed libjpeg.so.8 libjpeg.so $fname + done + ''; postFixup = '' autoPatchelf -- "$out" $out/opt/citrix-icaclient/util/ctx_rehash |