diff --git a/package.nix b/package.nix index 110839f..6377e83 100644 --- a/package.nix +++ b/package.nix @@ -1,11 +1,17 @@ -{ rustPlatform +{ lib +, stdenv + +, rustPlatform # Runtime Deps , sqlite +, openssl # Build Deps -, openssl , pkg-config + + # Darwin Build Deps +, darwin }: let @@ -23,7 +29,7 @@ rustPlatform.buildRustPackage { nativeBuildInputs = [ openssl pkg-config - ]; + ] ++ lib.optional stdenv.hostPlatform.isDarwin darwin.apple_sdk.frameworks.SystemConfiguration; buildInputs = [ openssl