Merge pull request #206255 from helsinki-systems/fix/coturn
coturn: fix openssl issues
This commit is contained in:
@@ -29,7 +29,7 @@ stdenv.mkDerivation rec {
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
libevent
|
||||
(libevent.override { inherit openssl; })
|
||||
libprom
|
||||
libpromhttp
|
||||
libmicrohttpd
|
||||
@@ -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
|
||||
|
||||
@@ -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 {};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user