{radarr,sonarr}: add libcurl to library search path (#27628)
This commit is contained in:
parent
a0d464033c
commit
4ed291b303
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, mono, libmediainfo, sqlite, makeWrapper }:
|
{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "radarr-${version}";
|
name = "radarr-${version}";
|
||||||
|
@ -17,8 +17,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper "${mono}/bin/mono" $out/bin/Radarr \
|
makeWrapper "${mono}/bin/mono" $out/bin/Radarr \
|
||||||
--add-flags "$out/share/${name}/Radarr.exe" \
|
--add-flags "$out/share/${name}/Radarr.exe" \
|
||||||
--prefix LD_LIBRARY_PATH ':' "${sqlite.out}/lib" \
|
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
|
||||||
--prefix LD_LIBRARY_PATH ':' "${libmediainfo}/lib"
|
curl sqlite libmediainfo ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = with stdenv.lib; {
|
meta = with stdenv.lib; {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
{ stdenv, fetchurl, mono, libmediainfo, sqlite, makeWrapper, ... }:
|
{ stdenv, fetchurl, mono, libmediainfo, sqlite, curl, makeWrapper, ... }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "sonarr-${version}";
|
name = "sonarr-${version}";
|
||||||
|
@ -19,8 +19,8 @@ stdenv.mkDerivation rec {
|
||||||
|
|
||||||
makeWrapper "${mono}/bin/mono" $out/bin/NzbDrone \
|
makeWrapper "${mono}/bin/mono" $out/bin/NzbDrone \
|
||||||
--add-flags "$out/bin/NzbDrone.exe" \
|
--add-flags "$out/bin/NzbDrone.exe" \
|
||||||
--prefix LD_LIBRARY_PATH ':' "${sqlite.out}/lib" \
|
--prefix LD_LIBRARY_PATH : ${stdenv.lib.makeLibraryPath [
|
||||||
--prefix LD_LIBRARY_PATH ':' "${libmediainfo}/lib"
|
curl sqlite libmediainfo ]}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
|
|
Loading…
Reference in a new issue