3
0
Fork 0
forked from mirrors/nixpkgs

Making nixUnstable ready to cross build.

That requires bzip2 to cross build properly, and this is done only in stdenv-updates.

svn path=/nixpkgs/trunk/; revision=21878
This commit is contained in:
Lluís Batlle i Rossell 2010-05-19 15:13:46 +00:00
parent 90b3af3bd7
commit e283f86174

View file

@ -22,6 +22,17 @@ stdenv.mkDerivation rec {
CFLAGS=-O3 CXXFLAGS=-O3
'';
crossAttrs = {
configureFlags =
''
--with-store-dir=${storeDir} --localstatedir=${stateDir}
--with-bzip2=${bzip2.hostDrv}
--disable-init-state
CFLAGS=-O3 CXXFLAGS=-O3
'';
doCheck = false;
};
doCheck = true;
meta = {