From 7dbacfd7b52f8599e9624c0710c7222b2f4f9f8b Mon Sep 17 00:00:00 2001
From: Jean-Paul Calderone <exarkun@twistedmatrix.com>
Date: Thu, 25 Mar 2021 20:49:20 -0400
Subject: [PATCH] Oh, it had no effect because we actually use Python 3 for
 docs

---
 nixos/openssl-111k.nix | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/nixos/openssl-111k.nix b/nixos/openssl-111k.nix
index 3a41e179..a30c7d34 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 { };
     };
-- 
GitLab