From dc78ed045a37fb3b322e0a5c64839abd7164dd5d Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 16 May 2023 16:17:29 -0400 Subject: [PATCH] Add darwin support packages --- flake.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/flake.nix b/flake.nix index 280b040..8e8c8b1 100644 --- a/flake.nix +++ b/flake.nix @@ -69,7 +69,12 @@ rustc = rust; cargo = rust; }; - buildInputs = (sharedDeps system) ++ (with pkgs; [ openssl ]); + buildInputs = (sharedDeps system) ++ (with pkgs; + [ openssl ] ++ lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.Security + pkgs.libiconv + darwin.apple_sdk.frameworks.SystemConfiguration + ]); nativeBuildInputs = (sharedNativeDeps system) ++ (with pkgs; [ pkg-config cmake ]); devBase = with pkgs;