From cb2862e214dc9245a61bc4d3242f895ac969ffa5 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?J=C3=B6rg=20Thalheim?= <joerg@thalheim.io>
Date: Sun, 1 Jul 2018 20:57:13 +0100
Subject: [PATCH] python37: fix openssl detection

Before python37 was build without ssl support.
Tested with `python  -c 'import ssl'`
---
 pkgs/development/interpreters/python/cpython/3.7/default.nix | 1 +
 1 file changed, 1 insertion(+)

diff --git a/pkgs/development/interpreters/python/cpython/3.7/default.nix b/pkgs/development/interpreters/python/cpython/3.7/default.nix
index 9cc0377f925f..410d07ebc61c 100644
--- a/pkgs/development/interpreters/python/cpython/3.7/default.nix
+++ b/pkgs/development/interpreters/python/cpython/3.7/default.nix
@@ -80,6 +80,7 @@ in stdenv.mkDerivation {
     "--without-ensurepip"
     "--with-system-expat"
     "--with-system-ffi"
+    "--with-openssl=${openssl.dev}"
   ];
 
   preConfigure = ''