stats: fix darwin build (#541786)

This commit is contained in:
Emily
2026-07-15 02:05:11 +00:00
committed by GitHub
+6
View File
@@ -3,6 +3,8 @@
swiftPackages,
fetchFromGitHub,
leveldb,
# TODO: Clean up on `staging`.
llvmPackages,
perl,
actool,
makeWrapper,
@@ -88,6 +90,8 @@ stdenv.mkDerivation (finalAttrs: {
actool
makeWrapper
rcodesign
# TODO: Clean up on `staging`.
llvmPackages.lld
];
buildInputs = [ leveldb ];
@@ -126,6 +130,8 @@ stdenv.mkDerivation (finalAttrs: {
# The Swift compiler in nixpkgs uses SDK 14 headers (which compile fine), but without
# this flag the linker records SDK 14 and macOS withholds it (Liquid Glass)
-Xlinker -platform_version -Xlinker macos -Xlinker 14.0 -Xlinker 26.0
# TODO: Clean up on `staging`
-use-ld=lld
)
buildFramework() {