nix で openssl に依存した rust crate をビルドするには
Rust - NixOS Wiki
buildInput に openssl
nativeBuildInput に pkg-config を入れる