Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.Sign up
python38Packages.telethon: Patch find_library call for libssl #97349
Motivation for this change
Telethon can use libssl to speed up encryption, this is especially useful when sending files.
Telethon can use libssl to speed up encryption. The `find_library` call fails on NixOS because the environmental variables that get checked are obviously missing so we patch it with a direct path to libssl. https://github.com/LonamiWebs/Telethon/blob/8330635a725717390e1981848737b8988a419fe1/telethon/crypto/libssl.py#L19
jonringer left a comment •
to avoid importing the "openssl" python package
Okay, it should work now.