nix: macos build deps

This commit is contained in:
Zynh Ludwig 2025-01-12 14:17:55 -08:00
parent cbd67821fc
commit 54f19683c5

View file

@ -1,11 +1,17 @@
{ rustPlatform { lib
, stdenv
, rustPlatform
# Runtime Deps # Runtime Deps
, sqlite , sqlite
, openssl
# Build Deps # Build Deps
, openssl
, pkg-config , pkg-config
# Darwin Build Deps
, darwin
}: }:
let let
@ -23,7 +29,7 @@ rustPlatform.buildRustPackage {
nativeBuildInputs = [ nativeBuildInputs = [
openssl openssl
pkg-config pkg-config
]; ] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration;
buildInputs = [ buildInputs = [
openssl openssl