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