From 9f7defa8da7ce8c2df6975ae65e47598a0ca7111 Mon Sep 17 00:00:00 2001 From: link2xt Date: Sat, 9 Mar 2024 19:10:11 +0000 Subject: [PATCH] build(nix): make .#libdeltachat buildable on macOS --- flake.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/flake.nix b/flake.nix index 5feba4490..d26115aed 100644 --- a/flake.nix +++ b/flake.nix @@ -301,6 +301,12 @@ pkgs.rustPlatform.cargoSetupHook pkgs.cargo ]; + buildInputs = pkgs.lib.optionals isDarwin [ + pkgs.darwin.apple_sdk.frameworks.CoreFoundation + pkgs.darwin.apple_sdk.frameworks.Security + pkgs.darwin.apple_sdk.frameworks.SystemConfiguration + pkgs.libiconv + ]; postInstall = '' substituteInPlace $out/include/deltachat.h \