diff --git a/nixos/openssl-111k.nix b/nixos/openssl-111k.nix
index 3a41e179cd747d31ecfdff95c4d7b8b1fd852113..a30c7d34abb8006272266c1e85f87f3f8486e119 100644
--- a/nixos/openssl-111k.nix
+++ b/nixos/openssl-111k.nix
@@ -10,7 +10,13 @@ self: super: rec {
   });
   openssl = openssl_1_1;
 
-  python27 = super.python27.override (old: {
+  python2 = super.python2.override (old: {
+    packageOverrides = python-self: python-super: {
+      pyopenssl = python-super.callPackage ./pkgs/pyopenssl.nix { };
+    };
+  });
+
+  python3 = super.python3.override (old: {
     packageOverrides = python-self: python-super: {
       pyopenssl = python-super.callPackage ./pkgs/pyopenssl.nix { };
     };