This commit is contained in:
Chris Dombroski 2024-08-20 12:57:31 -04:00
parent ee107c8d82
commit b9bcfd2057

View file

@ -4,6 +4,7 @@ let
arch = "x64";
hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7";
version = "7.2.1";
libPath = "LD_LIBRARY_PATH : ${prev.lib.makeLibraryPath [prev.icu prev.openssl prev.zlib]}";
in
{
recyclarr = prev.recyclarr.overrideAttrs (old: {
@ -13,6 +14,11 @@ in
url = "https://github.com/recyclarr/recyclarr/releases/download/v${version}/recyclarr-${os}-${arch}.tar.xz";
inherit hash;
};
buildInputs = with prev; [ icu zlib openssl ];
postInstall = ''
wrapProgram $out/bin/recyclarr \
--prefix PATH : ${prev.lib.makeBinPath [prev.git]} \
--prefix ${libPath}
'';
});
}