Skip to content

Commit 2b3c729

Browse files
committed
python3: use openssl_legacy
1 parent f06f950 commit 2b3c729

1 file changed

Lines changed: 3 additions & 3 deletions

File tree

  • pkgs/development/interpreters/python/cpython

pkgs/development/interpreters/python/cpython/default.nix

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
, mailcap, mimetypesSupport ? true
88
, ncurses
99
, openssl
10-
, openssl_1_1
10+
, openssl_legacy
1111
, readline
1212
, sqlite
1313
, tcl ? null, tk ? null, tix ? null, libX11 ? null, xorgproto ? null, x11Support ? false
@@ -77,9 +77,9 @@ assert lib.assertMsg (reproducibleBuild -> (!rebuildBytecode))
7777
with lib;
7878

7979
let
80-
# cpython does support/build with openssl 3.0, but some libraries using the ssl module seem to have issues with it
80+
# some python packages need legacy ciphers, so we're using openssl 3, but with that config
8181
# null check for Minimal
82-
openssl' = if openssl != null then openssl_1_1 else null;
82+
openssl' = if openssl != null then openssl_legacy else null;
8383

8484
buildPackages = pkgsBuildHost;
8585
inherit (passthru) pythonForBuild;

0 commit comments

Comments
 (0)