Revert "swiftPackages.swift-unwrapped: fix darwin build"

The ld64 issue has been fixed.

This reverts commit 401b87c97d.
This commit is contained in:
Emily
2026-07-15 03:26:25 +01:00
parent 47052acf7c
commit 002e6194af
2 changed files with 1 additions and 12 deletions
@@ -37,8 +37,6 @@
DarwinTools,
apple-sdk_14,
darwinMinVersionHook,
# TODO: Clean up on `staging`
lld,
}:
let
@@ -254,8 +252,6 @@ stdenv.mkDerivation {
DarwinTools # sw_vers
fixDarwinDylibNames
cctools.libtool
# TODO: Clean up on `staging`
lld
];
buildInputs = [
@@ -566,12 +562,6 @@ stdenv.mkDerivation {
# Fixed in: https://github.com/apple/swift/commit/84083afef1de5931904d5c815d53856cdb3fb232
cmakeFlags="
-GNinja
${
# Fix for ld64 hardening issue
#
# TODO: Clean up on staging
lib.optionalString stdenv.hostPlatform.isDarwin "-DCMAKE_LINKER_TYPE=LLD"
}
-DBOOTSTRAPPING_MODE=BOOTSTRAPPING${lib.optionalString stdenv.hostPlatform.isDarwin "-WITH-HOSTLIBS"}
-DSWIFT_ENABLE_EXPERIMENTAL_DIFFERENTIABLE_PROGRAMMING=ON
-DSWIFT_ENABLE_EXPERIMENTAL_CONCURRENCY=ON
+1 -2
View File
@@ -15,8 +15,7 @@ let
inherit stdenv;
swift-unwrapped = callPackage ./compiler {
# TODO: Clean up on `staging`
inherit (llvmPackages) stdenv lld;
inherit (llvmPackages) stdenv;
inherit (darwin) DarwinTools sigtool;
};