diff options
author | Sergey Lukjanov <me@slukjanov.name> | 2020-01-12 17:51:58 -0800 |
---|---|---|
committer | Sergey Lukjanov <me@slukjanov.name> | 2020-01-12 17:57:48 -0800 |
commit | eabc138cb95e866a9676be6c2027e484bf1f7d44 (patch) | |
tree | 5bb573b624056423964a0e1325ebe505fcadca2b /pkgs/tools/networking/iperf | |
parent | 598232b443860f9149c3a74185af48816f6859fc (diff) |
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
Diffstat (limited to 'pkgs/tools/networking/iperf')
-rw-r--r-- | pkgs/tools/networking/iperf/3.nix | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/networking/iperf/3.nix b/pkgs/tools/networking/iperf/3.nix index c59eb09f4c5ce..bea61b082ec0c 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" ]; |