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:
parent
90b3af3bd7
commit
e283f86174
|
@ -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 = {
|
||||
|
|
Loading…
Reference in a new issue