mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-27 01:13:05 +00:00
sqlite: pass --enable-readline when interactive mode is enabled
Fix #14378
This commit is contained in:
parent
0373eb86f1
commit
f8b2c439d6
@ -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"
|
||||
|
Loading…
Reference in New Issue
Block a user