Merge pull request #273216 from wegank/contacts-drop

xcbuild6Hook, xcodebuild6: drop
This commit is contained in:
Weijia Wang 2023-12-17 19:09:14 +01:00 committed by GitHub
commit 7973fdb801
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 7 additions and 8 deletions

View File

@ -11,6 +11,11 @@ stdenv.mkDerivation {
hash = "sha256-Li/c5uf9rfpuU+hduuSm7EmhVwIIkS72dqzmN+0cE3A=";
};
postPatch = ''
substituteInPlace contacts.m \
--replace "int peopleSort" "long peopleSort"
'';
nativeBuildInputs = [ xcbuildHook ];
buildInputs = [ Foundation AddressBook ];

View File

@ -1027,6 +1027,8 @@ mapAliases ({
### X ###
xbmc-retroarch-advanced-launchers = kodi-retroarch-advanced-launchers; # Added 2021-11-19
xcbuild6Hook = throw "'xcbuild6Hook has been renamed to/replaced by 'xcbuildHook'"; # Added 2023-12-10
xcodebuild6 = throw "'xcodebuild6' has been renamed to/replaced by 'xcodebuild'"; # Added 2023-12-10
xdg_utils = xdg-utils; # Added 2021-02-01
xineLib = xine-lib; # Added 2021-04-27
xineUI = xine-ui; # Added 2021-04-27

View File

@ -4922,7 +4922,6 @@ with pkgs;
contacts = callPackage ../tools/misc/contacts {
inherit (darwin.apple_sdk.frameworks) Foundation AddressBook;
xcbuildHook = xcbuild6Hook;
};
colorls = callPackage ../tools/system/colorls { };
@ -20389,19 +20388,12 @@ with pkgs;
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 {
name = "xcbuild-hook";
propagatedBuildInputs = [ xcbuild ];
} ../development/tools/xcbuild/setup-hook.sh ;
# xcbuild with llvm 6
xcbuild6Hook = makeSetupHook {
name = "xcbuild6-hook";
propagatedBuildInputs = [ xcodebuild6 ];
} ../development/tools/xcbuild/setup-hook.sh ;
xcpretty = callPackage ../development/tools/xcpretty { };
xeus = callPackage ../development/libraries/xeus { };