From 0810decaa7bdb2c3c645b83394f3e2413222c2c3 Mon Sep 17 00:00:00 2001 From: Eelco Dolstra Date: Thu, 1 Sep 2016 16:02:57 +0200 Subject: [PATCH] python-3.5: Drop dependency on Berkeley DB The previous commit revealed that Python wasn't actually using Berkeley DB; it only had it in its closure due to the build-time flag dump in Makefile and _sysconfigdata.py. When Python detects both GNU gdbm and Berkeley DB at build time, it will use the former. --- pkgs/development/interpreters/python/cpython/3.5/default.nix | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/pkgs/development/interpreters/python/cpython/3.5/default.nix b/pkgs/development/interpreters/python/cpython/3.5/default.nix index 67f9dc1c4f8..1b6814ea436 100644 --- a/pkgs/development/interpreters/python/cpython/3.5/default.nix +++ b/pkgs/development/interpreters/python/cpython/3.5/default.nix @@ -1,6 +1,5 @@ { stdenv, fetchurl , bzip2 -, db , gdbm , libX11, xproto , lzma @@ -33,7 +32,6 @@ let lzma gdbm sqlite - db readline ncurses openssl @@ -109,7 +107,7 @@ stdenv.mkDerivation { passthru = rec { zlibSupport = zlib != null; sqliteSupport = sqlite != null; - dbSupport = db != null; + dbSupport = false; readlineSupport = readline != null; opensslSupport = openssl != null; tkSupport = (tk != null) && (tcl != null) && (libX11 != null) && (xproto != null);