sqlite: pass --enable-readline when interactive mode is enabled

Fix #14378
This commit is contained in:
Nathan Zadoks 2016-05-16 13:29:11 -04:00
parent 0373eb86f1
commit f8b2c439d6

View File

@ -14,7 +14,7 @@ stdenv.mkDerivation {
buildInputs = lib.optionals interactive [ readline ncurses ];
configureFlags = [ "--enable-threadsafe" ];
configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
NIX_CFLAGS_COMPILE = [
"-DSQLITE_ENABLE_COLUMN_METADATA"