From c8528b82d289c86011eff65fbcb3e93568b33b15 Mon Sep 17 00:00:00 2001 From: ajs124 Date: Wed, 14 Dec 2022 22:31:17 +0100 Subject: [PATCH] coturn: don't build against openssl_1_1 anymore --- pkgs/servers/coturn/default.nix | 6 ++++++ pkgs/top-level/all-packages.nix | 4 +--- 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/pkgs/servers/coturn/default.nix b/pkgs/servers/coturn/default.nix index 466da7c6c13d..b8c56f548661 100644 --- a/pkgs/servers/coturn/default.nix +++ b/pkgs/servers/coturn/default.nix @@ -38,6 +38,12 @@ stdenv.mkDerivation rec { patches = [ ./pure-configure.patch + + # fix build against openssl 3.x + (fetchpatch { + url = "https://github.com/coturn/coturn/commit/4ce784a8781ab086c150e2b9f5641b1a37fd9b31.patch"; + hash = "sha256-Jx8XNXrgq0ockm1zjwRzfvSS3fVrVyVvQY1l0CpcR3Q="; + }) ]; # Workaround build failure on -fno-common toolchains like upstream diff --git a/pkgs/top-level/all-packages.nix b/pkgs/top-level/all-packages.nix index 825af969b790..6ecb078ddf64 100644 --- a/pkgs/top-level/all-packages.nix +++ b/pkgs/top-level/all-packages.nix @@ -4057,9 +4057,7 @@ with pkgs; cot = with python3Packages; toPythonApplication cot; - coturn = callPackage ../servers/coturn { - openssl = openssl_1_1; - }; + coturn = callPackage ../servers/coturn { }; coursier = callPackage ../development/tools/coursier {};