mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-12-12 00:33:10 +00:00
sqlite: Add zlib dep, needed for sqlar support.
(and seems generally useful anyway?)
This commit is contained in:
parent
a6d8d54e79
commit
1d6a14e24a
@ -1,4 +1,4 @@
|
|||||||
{ lib, stdenv, fetchurl, interactive ? false, readline ? null, ncurses ? null }:
|
{ lib, stdenv, fetchurl, zlib, interactive ? false, readline ? null, ncurses ? null }:
|
||||||
|
|
||||||
assert interactive -> readline != null && ncurses != null;
|
assert interactive -> readline != null && ncurses != null;
|
||||||
|
|
||||||
@ -13,7 +13,7 @@ stdenv.mkDerivation {
|
|||||||
outputs = [ "bin" "dev" "out" ];
|
outputs = [ "bin" "dev" "out" ];
|
||||||
separateDebugInfo = stdenv.isLinux;
|
separateDebugInfo = stdenv.isLinux;
|
||||||
|
|
||||||
buildInputs = lib.optionals interactive [ readline ncurses ];
|
buildInputs = [ zlib ] ++ lib.optionals interactive [ readline ncurses ];
|
||||||
|
|
||||||
configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
|
configureFlags = [ "--enable-threadsafe" ] ++ lib.optional interactive "--enable-readline";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user