about summary refs log tree commit diff
diff options
context:
space:
mode:
authoradisbladis <adisbladis@gmail.com>2024-03-11 20:44:23 +1300
committerGitHub <noreply@github.com>2024-03-11 20:44:23 +1300
commit7cde12b357ce1c925616a8968518ba1423080b80 (patch)
tree8487d89c72a6d60fc84f602645dea3bff7fce5e0
parentdeed1822594795bfce10eae8e7101193a51f97f8 (diff)
parentc295ef8fb1082c94d7a67248ec613bf25c5456a7 (diff)
Merge pull request #293126 from adisbladis/citrix-workspace-sonames
citrix-workspace: Add opencv 4.7.0 compatibility soname's
-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 bf14b0321943d..ff945e3aeed2d 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