xcbuild: use llvm6-based xcbuild
This commit is contained in:
parent
724e833ea2
commit
ecffd43b46
@ -1,6 +1,6 @@
|
||||
{ stdenv, lib, buildPackages, makeWrapper, writeText, runCommand
|
||||
, CoreServices, ImageIO, CoreGraphics
|
||||
, runtimeShell
|
||||
, runtimeShell, callPackage
|
||||
, xcodePlatform ? stdenv.targetPlatform.xcodePlatform or "MacOSX"
|
||||
, xcodeVer ? stdenv.targetPlatform.xcodeVer or "9.4.1"
|
||||
, sdkVer ? stdenv.targetPlatform.sdkVer or "10.10" }:
|
||||
@ -14,20 +14,20 @@ let
|
||||
sdkBuildVersion = "17E189";
|
||||
xcodeSelectVersion = "2349";
|
||||
|
||||
xcbuild = buildPackages.callPackage ./default.nix {
|
||||
inherit CoreServices ImageIO CoreGraphics;
|
||||
xcbuild = callPackage ./default.nix {
|
||||
inherit CoreServices ImageIO CoreGraphics stdenv;
|
||||
};
|
||||
|
||||
toolchains = buildPackages.callPackage ./toolchains.nix {
|
||||
inherit toolchainName;
|
||||
toolchains = callPackage ./toolchains.nix {
|
||||
inherit toolchainName stdenv;
|
||||
};
|
||||
|
||||
sdks = buildPackages.callPackage ./sdks.nix {
|
||||
sdks = callPackage ./sdks.nix {
|
||||
inherit toolchainName sdkName xcodePlatform;
|
||||
version = sdkVer;
|
||||
};
|
||||
|
||||
platforms = buildPackages.callPackage ./platforms.nix {
|
||||
platforms = callPackage ./platforms.nix {
|
||||
inherit sdks xcodePlatform;
|
||||
};
|
||||
|
||||
|
@ -1280,6 +1280,7 @@ in
|
||||
contacts = callPackage ../tools/misc/contacts {
|
||||
inherit (darwin) cf-private;
|
||||
inherit (darwin.apple_sdk.frameworks) Foundation AddressBook;
|
||||
xcbuildHook = xcbuild6Hook;
|
||||
};
|
||||
|
||||
compsize = callPackage ../os-specific/linux/compsize { };
|
||||
@ -5062,6 +5063,7 @@ in
|
||||
pinentry_mac = callPackage ../tools/security/pinentry/mac.nix {
|
||||
inherit (darwin) cf-private;
|
||||
inherit (darwin.apple_sdk.frameworks) Cocoa;
|
||||
xcbuildHook = xcbuild6Hook;
|
||||
};
|
||||
|
||||
pingtcp = callPackage ../tools/networking/pingtcp { };
|
||||
@ -9533,11 +9535,17 @@ in
|
||||
xcodebuild = callPackage ../development/tools/xcbuild/wrapper.nix {
|
||||
inherit (darwin.apple_sdk.frameworks) CoreServices CoreGraphics ImageIO;
|
||||
};
|
||||
xcodebuild6 = xcodebuild.override { stdenv = llvmPackages_6.stdenv; };
|
||||
xcbuild = xcodebuild;
|
||||
xcbuildHook = makeSetupHook {
|
||||
deps = [ xcbuild ];
|
||||
} ../development/tools/xcbuild/setup-hook.sh ;
|
||||
|
||||
# xcbuild with llvm 6
|
||||
xcbuild6Hook = makeSetupHook {
|
||||
deps = [ xcodebuild6 ];
|
||||
} ../development/tools/xcbuild/setup-hook.sh ;
|
||||
|
||||
xcpretty = callPackage ../development/tools/xcpretty { };
|
||||
|
||||
xmlindent = callPackage ../development/web/xmlindent {};
|
||||
|
Loading…
Reference in New Issue
Block a user