forked from mirrors/nixpkgs
Merge pull request #15502 from nathan7/master
sqlite: pass --enable-readline when interactive mode is enabled
This commit is contained in:
commit
ca227d3746
|
@ -14,7 +14,7 @@ stdenv.mkDerivation {
|
||||||
|
|
||||||
buildInputs = lib.optionals interactive [ readline ncurses ];
|
buildInputs = lib.optionals interactive [ readline ncurses ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-threadsafe" ];
|
configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
|
||||||
|
|
||||||
NIX_CFLAGS_COMPILE = [
|
NIX_CFLAGS_COMPILE = [
|
||||||
"-DSQLITE_ENABLE_COLUMN_METADATA"
|
"-DSQLITE_ENABLE_COLUMN_METADATA"
|
||||||
|
|
Loading…
Reference in a new issue