xcbuild: move to pkgs/by-name

This commit is contained in:
Randy Eckenrode 2024-09-22 18:33:28 -04:00
parent aef4614421
commit 45e65c16d2
No known key found for this signature in database
GPG Key ID: 64C1CD4EC2A600D9
8 changed files with 11 additions and 3 deletions

View File

@ -18701,14 +18701,22 @@ with pkgs;
xcode-install = callPackage ../development/tools/xcode-install { };
xcodebuild = callPackage ../development/tools/xcbuild/wrapper.nix {
xcbuild = callPackage ../by-name/xc/xcbuild/package.nix {
inherit (darwin.apple_sdk.frameworks) CoreServices CoreGraphics ImageIO;
stdenv =
# xcbuild is included in the SDK. Avoid an infinite recursion by using a bootstrap stdenv.
if stdenv.hostPlatform.isDarwin then
darwin.bootstrapStdenv
else
stdenv;
};
xcbuild = xcodebuild;
xcbuildHook = makeSetupHook {
name = "xcbuild-hook";
propagatedBuildInputs = [ xcbuild ];
} ../development/tools/xcbuild/setup-hook.sh ;
} ../by-name/xc/xcbuild/setup-hook.sh;
xcodebuild = xcbuild;
xcpretty = callPackage ../development/tools/xcpretty { };