From 3ce8c480f2d1fe01b011dc731ccc434725219b5e Mon Sep 17 00:00:00 2001 From: Graham McIntire Date: Sat, 7 Feb 2026 12:46:13 -0600 Subject: [PATCH] fix: Add OpenSSL to C NIF build inputs net-snmp requires OpenSSL headers. Add openssl to buildInputs to fix 'openssl/ossl_typ.h' file not found error. --- nix/c-nif.nix | 2 ++ 1 file changed, 2 insertions(+) diff --git a/nix/c-nif.nix b/nix/c-nif.nix index bf64d982..692bdc38 100644 --- a/nix/c-nif.nix +++ b/nix/c-nif.nix @@ -4,6 +4,7 @@ pkg-config, net-snmp, erlang, + openssl, }: stdenv.mkDerivation { @@ -24,6 +25,7 @@ stdenv.mkDerivation { buildInputs = [ net-snmp erlang + openssl ]; # Build using the existing Makefile