From 98662eba0e99d462071003bcef55ee8b61ea4e86 Mon Sep 17 00:00:00 2001 From: Matthew Bauer Date: Sat, 31 Aug 2019 07:59:00 -0400 Subject: [PATCH] python: enable loadable sqlite extensions (#67472) Our sqlite supports it, so might as well make use of it. Fixes #66526 --- pkgs/development/interpreters/python/cpython/default.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pkgs/development/interpreters/python/cpython/default.nix b/pkgs/development/interpreters/python/cpython/default.nix index 60d067c1bf2c..1de1c401c37c 100644 --- a/pkgs/development/interpreters/python/cpython/default.nix +++ b/pkgs/development/interpreters/python/cpython/default.nix @@ -142,6 +142,8 @@ in with passthru; stdenv.mkDerivation { "--without-ensurepip" "--with-system-expat" "--with-system-ffi" + ] ++ optionals (sqlite != null && isPy3k) [ + "--enable-loadable-sqlite-extensions" ] ++ optionals (openssl != null) [ "--with-openssl=${openssl.dev}" ] ++ optionals (stdenv.hostPlatform != stdenv.buildPlatform) [