Commit 5e86f9d4 authored by Sergei Trofimovich's avatar Sergei Trofimovich Committed by Bjørn Forsman
Browse files

sqlite-interactive: fix `readline` autodetection

parent e40cc111
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -80,6 +80,8 @@ stdenv.mkDerivation rec {
      "--libdir=${placeholder "out"}/lib"
    ]
    ++ lib.optional (!interactive) "--disable-readline"
    # autosetup only looks up readline.h in predefined set of directories.
    ++ lib.optional interactive "--with-readline-header=${lib.getDev readline}/include/readline/readline.h"
    ++ lib.optional (stdenv.hostPlatform.isStatic) "--disable-shared";

  env.NIX_CFLAGS_COMPILE = toString [