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

View file

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