From fb6a3acb419e17f2e23ca0c0d73d49169d4884ce Mon Sep 17 00:00:00 2001 From: Chris Dombroski Date: Tue, 20 Aug 2024 12:57:31 -0400 Subject: [PATCH] Fix ssl? --- overlays/recyclarr.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/overlays/recyclarr.nix b/overlays/recyclarr.nix index 4e4e8e7..4f0e169 100644 --- a/overlays/recyclarr.nix +++ b/overlays/recyclarr.nix @@ -4,6 +4,7 @@ let arch = "x64"; hash = "sha256:04vg1s86krg7baifcpnqr5zg6jd6nfw0jhjsq09zzpxwg5skxlf7"; version = "7.2.1"; + libPath = "LD_LIBRARY_PATH : ${prev.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.makeBinPath [prev.git]} \ + --prefix ${libPath} + ''; }); }