Merge pull request #209341 from helsinki-systems/fix/transmission

transmission: use openssl_legacy
This commit is contained in:
ajs124 2023-01-10 21:06:50 +01:00 committed by GitHub
commit 9ef15e7bb0
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 4 additions and 10 deletions

View file

@ -1,7 +1,6 @@
{ stdenv
, lib
, fetchFromGitHub
, fetchurl
, cmake
, pkg-config
, openssl
@ -47,14 +46,6 @@ in stdenv.mkDerivation {
fetchSubmodules = true;
};
patches = [
# fix build with openssl 3.0
(fetchurl {
url = "https://salsa.debian.org/debian/transmission/-/raw/debian/3.00-2.1/debian/patches/openssl3-compat.patch";
hash = "sha256-v+SDTW/lCtc8B3TuhQB1pmjW/QRAGLtYncaImNNwpes=";
})
];
outputs = [ "out" "apparmor" ];
cmakeFlags =

View file

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