From 1390e7f6d94d379daa3eb9e4c33882740fbc4043 Mon Sep 17 00:00:00 2001 From: Ihar Hrachyshka Date: Sun, 7 Dec 2025 12:53:52 -0500 Subject: [PATCH] buildMozillaMach: remove apple-sdk_15 hack for fileport.h master now carries 15.5 so the hack is no longer needed. --- .../build-support/build-mozilla-mach/default.nix | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/pkgs/build-support/build-mozilla-mach/default.nix b/pkgs/build-support/build-mozilla-mach/default.nix index c064d5d4266f..6461c2410284 100644 --- a/pkgs/build-support/build-mozilla-mach/default.nix +++ b/pkgs/build-support/build-mozilla-mach/default.nix @@ -451,21 +451,7 @@ buildStdenv.mkDerivation { # linking firefox hits the vm.max_map_count kernel limit with the default musl allocator # TODO: Default vm.max_map_count has been increased, retest without this export LD_PRELOAD=${mimalloc}/lib/libmimalloc.so - '' - + - # fileport.h was exposed in SDK 15.4 but we have only 15.2 in nixpkgs so far. - lib.optionalString - ( - stdenv.hostPlatform.isDarwin - && lib.versionAtLeast version "143" - && lib.versionOlder version "145" - && lib.versionOlder apple-sdk_15.version "15.4" - ) - '' - mkdir -p xnu/sys - cp ${apple-sdk_15.sourceRelease "xnu"}/bsd/sys/fileport.h xnu/sys - export CXXFLAGS="-isystem $(pwd)/xnu" - ''; + ''; # firefox has a different definition of configurePlatforms from nixpkgs, see configureFlags configurePlatforms = [ ];