diff options
author | Matthew Bauer <mjbauer95@gmail.com> | 2019-08-31 07:59:00 -0400 |
---|---|---|
committer | Samuel Leathers <disasm@gmail.com> | 2019-08-31 07:59:00 -0400 |
commit | 98662eba0e99d462071003bcef55ee8b61ea4e86 (patch) | |
tree | 8a010974d0e959e79022941ba2c029d33bef9f57 /pkgs | |
parent | 9c566ecbef955c9fb8f1e33d5c98fcf57ed0e750 (diff) | |
download | nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar.gz nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar.bz2 nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar.lz nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar.xz nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.tar.zst nixlib-98662eba0e99d462071003bcef55ee8b61ea4e86.zip |
python: enable loadable sqlite extensions (#67472)
Our sqlite supports it, so might as well make use of it. Fixes #66526
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/development/interpreters/python/cpython/default.nix | 2 |
1 files changed, 2 insertions, 0 deletions
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) [ |