about summary refs log tree commit diff
path: root/pkgs/applications/networking/remote/vmware-horizon-client
diff options
context:
space:
mode:
authorSean Buckley <sean.bck@gmail.com>2021-04-02 19:46:12 -0400
committerSean Buckley <sean.bck@gmail.com>2021-04-02 19:46:12 -0400
commit9131779490b81e6c81af178a7c367357b05a6dcb (patch)
tree61d013cbb4bf6a3665b3401a873021e6be1bba2d /pkgs/applications/networking/remote/vmware-horizon-client
parent64cf4e0c98442e3acd86fd307efaf51a5c21fb62 (diff)
vmware-horizon-client: use pkgs.cairo instead of bundled version
Diffstat (limited to 'pkgs/applications/networking/remote/vmware-horizon-client')
-rw-r--r--pkgs/applications/networking/remote/vmware-horizon-client/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix
index f52373f2624db..48ea229c2447e 100644
--- a/pkgs/applications/networking/remote/vmware-horizon-client/default.nix
+++ b/pkgs/applications/networking/remote/vmware-horizon-client/default.nix
@@ -3,6 +3,7 @@
 , at-spi2-atk
 , atk
 , buildFHSUserEnv
+, cairo
 , dbus
 , fetchurl
 , fontconfig
@@ -67,6 +68,9 @@ let
       # This libjpeg library interferes with Chromium, so we will be using ours instead.
       rm $out/lib/vmware/libjpeg.*
 
+      # This library causes the program to core-dump occasionally. Use ours instead.
+      rm $out/lib/vmware/view/crtbora/libcairo.*
+
       # Force the default GTK theme (Adwaita) because Horizon is prone to
       # UI usability issues when using non-default themes, such as Adwaita-dark.
       makeWrapper "$out/bin/vmware-view" "$out/bin/vmware-view_wrapper" \
@@ -84,6 +88,7 @@ let
     targetPkgs = pkgs: [
       at-spi2-atk
       atk
+      cairo
       dbus
       fontconfig
       freetype