From 2b8b4ef1ffd316da0a3479987d21a8c41925c6aa Mon Sep 17 00:00:00 2001 From: Max Whitehead Date: Sun, 24 Mar 2024 14:03:55 -0700 Subject: [PATCH] fix: Fix nix build of bolt on macOS (Darwin) --- infra/nix/bolt/default.nix | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/infra/nix/bolt/default.nix b/infra/nix/bolt/default.nix index 8cae8ce472..437dca0bd1 100644 --- a/infra/nix/bolt/default.nix +++ b/infra/nix/bolt/default.nix @@ -38,7 +38,11 @@ rustPlatform.buildRustPackage rec { buildInputs = with pkgs; [ pkg-config openssl - ]; + ] ++ ( + pkgs.lib.optionals stdenv.isDarwin [ + darwin.apple_sdk.frameworks.SystemConfiguration + ] + ); nativeBuildInputs = buildInputs; doCheck = false;