refactor: remove explicit macOS SDK framework buildInputs in flake.nix

This commit is contained in:
Karol Broda
2025-12-23 10:51:23 +01:00
parent 5b6e098e68
commit 755605de26

View File

@@ -62,10 +62,7 @@
env.GOTOOLCHAIN = "local";
# go 1.25 crypto/x509 uses SecTrustCopyCertificateChain (macOS 12+)
env.MACOSX_DEPLOYMENT_TARGET = pkgs.lib.optionalString isDarwin "12.0";
buildInputs = pkgs.lib.optionals isDarwin [
pkgs.darwin.apple_sdk.frameworks.Security
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
];
# nixpkgs 25.05+ uses system SDK directly, no explicit framework buildInputs needed
ldflags = [
"-s"
"-w"