From eabc138cb95e866a9676be6c2027e484bf1f7d44 Mon Sep 17 00:00:00 2001 From: Sergey Lukjanov Date: Sun, 12 Jan 2020 17:51:58 -0800 Subject: [PATCH] iperf3: fix compilation to support authentication creds Service iperf3 defines authorizedUsersFile and rsaPrivateKey to enable authenticated iperf server. It requires iperf to be compiled with openssl. https://nixos.org/nixos/options.html#services.iperf3.authorizedusersfile --- pkgs/tools/networking/iperf/3.nix | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pkgs/tools/networking/iperf/3.nix b/pkgs/tools/networking/iperf/3.nix index c59eb09f4c5c..bea61b082ec0 100644 --- a/pkgs/tools/networking/iperf/3.nix +++ b/pkgs/tools/networking/iperf/3.nix @@ -9,6 +9,9 @@ stdenv.mkDerivation rec { }; buildInputs = [ openssl ]; + configureFlags = [ + "--with-openssl=${openssl.dev}" + ]; outputs = [ "out" "man" ];