refactor: remove explicit macOS SDK framework buildInputs in flake.nix
This commit is contained in:
@@ -62,10 +62,7 @@
|
|||||||
env.GOTOOLCHAIN = "local";
|
env.GOTOOLCHAIN = "local";
|
||||||
# go 1.25 crypto/x509 uses SecTrustCopyCertificateChain (macOS 12+)
|
# go 1.25 crypto/x509 uses SecTrustCopyCertificateChain (macOS 12+)
|
||||||
env.MACOSX_DEPLOYMENT_TARGET = pkgs.lib.optionalString isDarwin "12.0";
|
env.MACOSX_DEPLOYMENT_TARGET = pkgs.lib.optionalString isDarwin "12.0";
|
||||||
buildInputs = pkgs.lib.optionals isDarwin [
|
# nixpkgs 25.05+ uses system SDK directly, no explicit framework buildInputs needed
|
||||||
pkgs.darwin.apple_sdk.frameworks.Security
|
|
||||||
pkgs.darwin.apple_sdk.frameworks.CoreFoundation
|
|
||||||
];
|
|
||||||
ldflags = [
|
ldflags = [
|
||||||
"-s"
|
"-s"
|
||||||
"-w"
|
"-w"
|
||||||
|
|||||||
Reference in New Issue
Block a user