@@ -1,4 +1,4 @@
1−{ lib, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests }:
1+{ lib, stdenv, rustPlatform, fetchFromGitHub, openssl, pkg-config, nixosTests, Security }:
22
33rustPlatform.buildRustPackage rec {
44 pname = "unbound-telemetry";
@@ -15,7 +15,8 @@ rustPlatform.buildRustPackage rec {
1515
1616 nativeBuildInputs = [ pkg-config ];
1717
18− buildInputs = [ openssl ];
18+ buildInputs = [ openssl ]
19+ ++ lib.optional stdenv.isDarwin Security;
1920
2021 passthru.tests = {
2122 inherit (nixosTests.prometheus-exporters) unbound;