iperf3: fix darwin build

lksctp-tools is linux only
This commit is contained in:
zowoq 2022-04-14 13:15:33 +10:00
parent 0a9c88ab30
commit 3c18b8109f

View file

@ -9,7 +9,7 @@ stdenv.mkDerivation rec {
sha256 = "0pvy1cj92phpbldw0bdc0ds70n8irqcyn1ybyis0a6nnz84v936y";
};
buildInputs = [ openssl lksctp-tools ];
buildInputs = [ openssl ] ++ lib.optionals stdenv.isLinux [ lksctp-tools ];
configureFlags = [
"--with-openssl=${openssl.dev}"
];