about summary refs log tree commit diff
path: root/pkgs/applications/editors/sublime/4/common.nix
diff options
context:
space:
mode:
authorPedroHLC ☭ <root@pedrohlc.com>2022-09-15 17:08:43 -0300
committerJan Tojnar <jtojnar@gmail.com>2022-09-16 16:20:16 +0200
commitbef209dc55a6b760b95ef7c08486a574fbd0cdd9 (patch)
tree3a58e341cef6a00bfa895eb5ddbf4b0acb3a8fc5 /pkgs/applications/editors/sublime/4/common.nix
parent50150e24c877077ba75479cca1f62e88cb2f0982 (diff)
sublime4: pin to openssl_1_1
Diffstat (limited to 'pkgs/applications/editors/sublime/4/common.nix')
-rw-r--r--pkgs/applications/editors/sublime/4/common.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/pkgs/applications/editors/sublime/4/common.nix b/pkgs/applications/editors/sublime/4/common.nix
index 0f2afb432e4cf..41dc020e4ecf5 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/