Pass SQLite to nix-custom

svn path=/nixpkgs/trunk/; revision=25887
This commit is contained in:
Michael Raskin 2011-02-10 17:13:48 +00:00
parent 9980c6f01f
commit 9a9d97642a
2 changed files with 4 additions and 1 deletions

View File

@ -12,6 +12,7 @@
, docbook5 ? null, docbook_xml_dtd_43 ? null , docbook5 ? null, docbook_xml_dtd_43 ? null
, boehmgc ? null , boehmgc ? null
, pkgconfig ? null , pkgconfig ? null
, sqlite ? null
, configureFlags ? [] , configureFlags ? []
, lib , lib
, enableScripts ? [] , enableScripts ? []
@ -35,6 +36,7 @@ stdenv.mkDerivation {
++ (if w3m != null then [w3m] else []) ++ (if w3m != null then [w3m] else [])
++ (if libxml2 != null then [libxml2] else []) ++ (if libxml2 != null then [libxml2] else [])
++ (if boehmgc != null then [boehmgc] else []) ++ (if boehmgc != null then [boehmgc] else [])
++ (if sqlite != null then [sqlite] else [])
++ (if pkgconfig != null then [pkgconfig] else []) ++ (if pkgconfig != null then [pkgconfig] else [])
; ;
@ -50,6 +52,7 @@ stdenv.mkDerivation {
configureFlags = '' configureFlags = ''
--with-store-dir=${storeDir} --localstatedir=${stateDir} --with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2} --with-aterm=${aterm} --with-bdb=${db4} --with-bzip2=${bzip2}
--with-sqlite=${sqlite}
--disable-init-state --disable-init-state
${toString configureFlags} ${toString configureFlags}
''; '';

View File

@ -7468,7 +7468,7 @@ let
import ../tools/package-management/nix/custom.nix { import ../tools/package-management/nix/custom.nix {
inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake inherit fetchurl stdenv perl curl bzip2 openssl src preConfigure automake
autoconf libtool configureFlags enableScripts lib libxml2 boehmgc autoconf libtool configureFlags enableScripts lib libxml2 boehmgc
pkgconfig flex bison; pkgconfig flex bison sqlite;
aterm = aterm25; aterm = aterm25;
db4 = db45; db4 = db45;
inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m; inherit docbook5_xsl libxslt docbook5 docbook_xml_dtd_43 w3m;