summary refs log tree commit diff
path: root/pkgs/applications/networking/remote
diff options
context:
space:
mode:
authorobadz <obadz-git@obadz.com>2018-06-29 21:24:04 +0100
committerobadz <obadz-git@obadz.com>2018-06-29 21:33:07 +0100
commita046d8c873e1f792364a4a9e4e5600613b224003 (patch)
tree932b20b2ea8da8aeb250e1c8ebaf105c1cd46487 /pkgs/applications/networking/remote
parent4d28621c44f4a3425eb1b97a89f602bc92f6a1e5 (diff)
downloadnixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar.gz
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar.bz2
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar.lz
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar.xz
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.tar.zst
nixlib-a046d8c873e1f792364a4a9e4e5600613b224003.zip
citrix-receiver: override libidn 1.35 back to 1.34 just for this binary pkg
Diffstat (limited to 'pkgs/applications/networking/remote')
-rw-r--r--pkgs/applications/networking/remote/citrix-receiver/default.nix13
1 files changed, 12 insertions, 1 deletions
diff --git a/pkgs/applications/networking/remote/citrix-receiver/default.nix b/pkgs/applications/networking/remote/citrix-receiver/default.nix
index 9190deb990e9..26cc0cb6e707 100644
--- a/pkgs/applications/networking/remote/citrix-receiver/default.nix
+++ b/pkgs/applications/networking/remote/citrix-receiver/default.nix
@@ -1,5 +1,6 @@
 { stdenv
 , lib
+, fetchurl
 , requireFile
 , makeWrapper
 , libredirect
@@ -27,6 +28,16 @@
 }:
 
 let
+  # In 56e1bdc7f9c (libidn: 1.34 -> 1.35), libidn.so.11 became libidn.so.12.
+  # Citrix looks for the former so we build version 1.34 to please the binary
+  libidn_134 = libidn.overrideDerivation (_: rec {
+    name = "libidn-1.34";
+    src = fetchurl {
+      url = "mirror://gnu/libidn/${name}.tar.gz";
+      sha256 = "0g3fzypp0xjcgr90c5cyj57apx1cmy0c6y9lvw2qdcigbyby469p";
+    };
+  });
+
   versionInfo = {
     "13.4.0" = rec {
       major     = "13";
@@ -160,7 +171,7 @@ let
         xorg.libXinerama
         xorg.libXfixes
         libpng12
-        libidn
+        libidn_134
         zlib
         gtk_engines
         freetype