fix(calibre): allow overriding of openssl libraries for ACSM Input plugin

This commit is contained in:
Nydragon 2024-06-12 21:29:46 +09:00
parent 8be8ff08ac
commit d805d9c3e5
No known key found for this signature in database
GPG key ID: 14AA30A865EA1209

View file

@ -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
'';
}))
];