Use gc, dbi, and dbd-sqlite when cross-building nix

The dbi and dbd-sqlite may be hacks since they're not cross-built, I'm not certain

svn path=/nixpkgs/trunk/; revision=30455
This commit is contained in:
Shea Levy 2011-11-16 20:21:58 +00:00
parent a28940d9d5
commit e895fe5e2f

View File

@ -31,6 +31,9 @@ stdenv.mkDerivation rec {
''
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-bzip2=${bzip2.hostDrv} --with-sqlite=${sqlite.hostDrv}
--enable-gc
--with-dbi=${perlPackages.DBI}/lib/perl5/site_perl
--with-dbd-sqlite=${perlPackages.DBDSQLite}/lib/perl5/site_perl
--disable-init-state
CFLAGS=-O3 CXXFLAGS=-O3
'';