about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2024-03-04 13:47:44 +1300
committeradisbladis <adisbladis@gmail.com>2024-03-04 14:10:35 +1300
commitc295ef8fb1082c94d7a67248ec613bf25c5456a7 (patch)
treef3cd3b15169c22f941ba3485244d8b7b05c2f8da /pkgs/applications/networking/remote
parente4e7f582c2d26fdcf05ed7f3233982f58ec5a246 (diff)
downloadnixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar.gz
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar.bz2
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar.lz
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar.xz
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.tar.zst
nixlib-c295ef8fb1082c94d7a67248ec613bf25c5456a7.zip
citrix-workspace: Add opencv 4.7.0 compatibility soname's
The expected soname's no longer match since opencv was updated to 4.9.0.
This adds another derivation that links the expected names.
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r--pkgs/applications/networking/remote/citrix-workspace/generic.nix14
1 files changed, 13 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/citrix-workspace/generic.nix b/pkgs/applications/networking/remote/citrix-workspace/generic.nix
index bf14b0321943..ff945e3aeed2 100644
--- a/pkgs/applications/networking/remote/citrix-workspace/generic.nix
+++ b/pkgs/applications/networking/remote/citrix-workspace/generic.nix
@@ -22,6 +22,18 @@ let
       ln -sf $out/lib/libssl.so $out/lib/libssl.so.1.0.0
     '';
   };
+
+  opencv4' = symlinkJoin {
+    name = "opencv4-compat";
+    nativeBuildInputs = [ makeWrapper ];
+    paths = [ opencv4 ];
+    postBuild = ''
+      for so in ${opencv4}/lib/*.so; do
+        ln -s "$so" $out/lib/$(basename "$so").407
+      done
+    '';
+  };
+
 in
 
 stdenv.mkDerivation rec {
@@ -98,7 +110,7 @@ stdenv.mkDerivation rec {
     mesa
     nspr
     nss
-    opencv4
+    opencv4'
     openssl'
     pango
     speex