From e64286c341e5c79f5304d84d8162372abe067963 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20DOUIN?= Date: Mon, 25 Nov 2024 16:10:11 +0100 Subject: [PATCH] sdk 11 for x86_64 --- package.nix | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.nix b/package.nix index d1dc4d88..5c86074b 100644 --- a/package.nix +++ b/package.nix @@ -28,8 +28,8 @@ rustPlatform.buildRustPackage rec { cargoHash = "sha256-YS8IamapvmdrOPptQh2Ef9Yold0IK1XIeGs0kDIQ5b8="; - NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin) [ - "-L${darwin.libiconv}" + NIX_LDFLAGS = lib.optionals (stdenv.hostPlatform.isDarwin && stdenv.hostPlatform.isx86_64) [ + "-L${darwin.apple_sdk_11_0.frameworks.Security}/Library/Frameworks -framework Security" ]; # unit tests only