From bef209dc55a6b760b95ef7c08486a574fbd0cdd9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?PedroHLC=20=E2=98=AD?= Date: Thu, 15 Sep 2022 17:08:43 -0300 Subject: [PATCH] sublime4: pin to openssl_1_1 --- pkgs/applications/editors/sublime/4/common.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/applications/editors/sublime/4/common.nix b/pkgs/applications/editors/sublime/4/common.nix index 0f2afb432e4c..41dc020e4ecf 100644 --- a/pkgs/applications/editors/sublime/4/common.nix +++ b/pkgs/applications/editors/sublime/4/common.nix @@ -2,7 +2,7 @@ { fetchurl, stdenv, lib, xorg, glib, libglvnd, glibcLocales, gtk3, cairo, pango, makeWrapper, wrapGAppsHook , writeShellScript, common-updater-scripts, curl -, openssl, bzip2, bash, unzip, zip +, openssl_1_1, bzip2, bash, unzip, zip }: let @@ -15,7 +15,7 @@ let versionUrl = "https://download.sublimetext.com/latest/${if dev then "dev" else "stable"}"; versionFile = builtins.toString ./packages.nix; - libPath = lib.makeLibraryPath [ xorg.libX11 xorg.libXtst glib libglvnd openssl gtk3 cairo pango curl ]; + libPath = lib.makeLibraryPath [ xorg.libX11 xorg.libXtst glib libglvnd openssl_1_1 gtk3 cairo pango curl ]; in let binaryPackage = stdenv.mkDerivation rec { pname = "${pnameBase}-bin"; @@ -65,6 +65,9 @@ in let installPhase = '' runHook preInstall + # No need to patch these libraries, it works well with our own + rm libcrypto.so.1.1 libssl.so.1.1 + mkdir -p $out cp -r * $out/