From 438d023eeea341458b09ea9b4298d9ff49f8ce85 Mon Sep 17 00:00:00 2001 From: Peter Simons Date: Mon, 6 Jul 2009 10:39:52 +0000 Subject: [PATCH] Fixed sqlite impurity (mostly). The sqlite configure script guesses whether to enable Tcl support. Apparently, this guessing finds a Tcl installation in /usr and thus enables Tcl. The subsequent build fails, however: the compiler doesn't find the because /usr is not a default search path. To remedy the problem, the expression now explicitly specifies --disable-tcl to avoid guessing altogether. In the same spirit, we furthermore specify the following configure flags, which represent the defaults that ./configure chooses when left on its own devices: --disable-amalgamation --enable-threadsafe --disable-cross-thread-connections --disable-tempstore svn path=/nixpkgs/trunk/; revision=16184 --- pkgs/development/libraries/sqlite/default.nix | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/pkgs/development/libraries/sqlite/default.nix b/pkgs/development/libraries/sqlite/default.nix index b24525ecf3e1..7ccb398d3ea0 100644 --- a/pkgs/development/libraries/sqlite/default.nix +++ b/pkgs/development/libraries/sqlite/default.nix @@ -15,6 +15,11 @@ stdenv.mkDerivation rec { configureFlags = '' --enable-load-extension ${if static then "--disable-shared --enable-static" else ""} + --disable-amalgamation + --enable-threadsafe + --disable-cross-thread-connections + --disable-tcl + --disable-tempstore --with-readline-inc=-I${readline}/include '';