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;