summary refs log tree commit diff
path: root/pkgs/tools/package-management
diff options
context:
space:
mode:
authorShea Levy <shea@shealevy.com>2011-11-16 20:21:58 +0000
committerShea Levy <shea@shealevy.com>2011-11-16 20:21:58 +0000
commite895fe5e2fdeea03810a309b08426b6aacdb7c2e (patch)
treebadf757b8a5ff03218e7b43969451b836923ad5d /pkgs/tools/package-management
parenta28940d9d542f3d7f2a5f88c4f2701a1818cf153 (diff)
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
Diffstat (limited to 'pkgs/tools/package-management')
-rw-r--r--pkgs/tools/package-management/nix/unstable.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/package-management/nix/unstable.nix b/pkgs/tools/package-management/nix/unstable.nix
index 1f01f6f73af2b..da70ed6bb0fbe 100644
--- a/pkgs/tools/package-management/nix/unstable.nix
+++ b/pkgs/tools/package-management/nix/unstable.nix
@@ -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
       '';