3
0
Fork 0
forked from mirrors/nixpkgs

Merge #216953: transmission: patch to load legacy openssl provider

This commit is contained in:
Vladimír Čunát 2023-02-22 13:14:48 +01:00
commit b96fd5a538
No known key found for this signature in database
GPG key ID: E747DF1F9575A3AA
2 changed files with 10 additions and 4 deletions

View file

@ -1,6 +1,7 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, cmake
, pkg-config
, openssl
@ -46,6 +47,14 @@ in stdenv.mkDerivation {
fetchSubmodules = true;
};
patches = [
# fix build with openssl 3.0
(fetchurl {
url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/net-p2p/transmission/files/transmission-3.00-openssl-3.patch";
hash = "sha256-peVrkGck8AfbC9uYNfv1CIu1alIewpca7A6kRXjVlVs=";
})
];
outputs = [ "out" "apparmor" ];
cmakeFlags =

View file

@ -33527,10 +33527,7 @@ with pkgs;
transcribe = callPackage ../applications/audio/transcribe { };
transmission = callPackage ../applications/networking/p2p/transmission {
# https://github.com/NixOS/nixpkgs/issues/207047
openssl = openssl_legacy;
};
transmission = callPackage ../applications/networking/p2p/transmission { };
libtransmission = transmission.override {
installLib = true;
enableDaemon = false;