From d805d9c3e5280689b96d44f2038d4c15fd0fee93 Mon Sep 17 00:00:00 2001 From: Nydragon Date: Wed, 12 Jun 2024 21:29:46 +0900 Subject: [PATCH] fix(calibre): allow overriding of openssl libraries for ACSM Input plugin --- home/default.nix | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/home/default.nix b/home/default.nix index b188704..1b2398a 100644 --- a/home/default.nix +++ b/home/default.nix @@ -119,7 +119,10 @@ ++ [ (pkgs.calibre.overrideAttrs (old: { postInstall = '' - wrapProgram $out/bin/calibre --prefix QT_QPA_PLATFORM = "xcb" + wrapProgram $out/bin/calibre \ + --set QT_QPA_PLATFORM xcb \ + --set-default ACSM_LIBCRYPTO ${pkgs.openssl.out}/lib/libcrypto.so \ + --set-default ACSM_LIBSSL ${pkgs.openssl.out}/lib/libssl.so ''; })) ];