sonarr: add missing zlib dependency

This commit is contained in:
Andrei Lapshin 2024-06-09 22:49:29 +02:00
parent b98e90213d
commit b640d881b3
No known key found for this signature in database
GPG Key ID: CB56A1B5A8CA7E52

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl, dotnet-runtime, icu, ffmpeg, openssl, sqlite, curl, makeWrapper, nixosTests }:
{ lib, stdenv, fetchurl, dotnet-runtime, icu, ffmpeg, openssl, sqlite, curl, makeWrapper, nixosTests, zlib }:
let
os = if stdenv.isDarwin then "osx" else "linux";
@ -36,7 +36,7 @@ stdenv.mkDerivation rec {
makeWrapper "${dotnet-runtime}/bin/dotnet" $out/bin/NzbDrone \
--add-flags "$out/share/sonarr-${version}/Sonarr.dll" \
--prefix PATH : ${lib.makeBinPath [ ffmpeg ]} \
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ curl sqlite openssl icu ]}
--prefix LD_LIBRARY_PATH : ${lib.makeLibraryPath [ curl sqlite openssl icu zlib ]}
runHook postInstall
'';