diff --git a/pkgs/development/interpreters/pypy/2.3/default.nix b/pkgs/development/interpreters/pypy/2.3/default.nix index 8fef46b5877..ba0fb6f111a 100644 --- a/pkgs/development/interpreters/pypy/2.3/default.nix +++ b/pkgs/development/interpreters/pypy/2.3/default.nix @@ -52,6 +52,9 @@ let --replace "'/usr/include/tcl'" "'${tk}/include', '${tcl}/include'" \ --replace "linklibs=['tcl', 'tk']" "linklibs=['tcl8.5', 'tk8.5']" \ --replace "libdirs = []" "libdirs = ['${tk}/lib', '${tcl}/lib']" + + substituteInPlace lib_pypy/_sqlite3.py \ + --replace "libraries=['sqlite3']" "libraries=['sqlite3'], include_dirs=['${sqlite}/include'], library_dirs=['${sqlite}/lib']" ''; setupHook = ./setup-hook.sh;