boost: use correct c compiler for bootstrapping

we need a c compiler that runs on the build machine for boost to work
This commit is contained in:
Matthew Bauer 2018-10-17 14:10:49 -05:00
parent c86495c798
commit e3de8a9232

View File

@ -135,7 +135,8 @@ stdenv.mkDerivation {
enableParallelBuilding = true;
nativeBuildInputs = [ which buildPackages.stdenv.cc ];
nativeBuildInputs = [ which ];
depsBuildBuild = [ buildPackages.stdenv.cc ];
buildInputs = [ expat zlib bzip2 libiconv ]
++ optional (stdenv.hostPlatform == stdenv.buildPlatform) icu
++ optional stdenv.isDarwin fixDarwinDylibNames