darwin.cctools: Fix build on linux

This commit is contained in:
Shea Levy 2016-09-17 08:44:38 -04:00
parent 663e379fb9
commit 11f4921cdf

View File

@ -10927,7 +10927,10 @@ in
xctoolchain = xcode.toolchain;
};
cctools = (callPackage ../os-specific/darwin/cctools/port.nix { inherit libobjc; }).native;
cctools = (callPackage ../os-specific/darwin/cctools/port.nix {
inherit libobjc;
stdenv = if stdenv.isDarwin then stdenv else libcxxStdenv;
}).native;
cf-private = callPackage ../os-specific/darwin/cf-private {
inherit (apple-source-releases) CF;