anevicon: fix darwin build

+5 -1
+5 -1
pkgs/tools/networking/anevicon/default.nix
··· 3 , fetchFromGitHub 4 , fetchpatch 5 , rustPlatform 6 , Security 7 }: 8 ··· 19 20 cargoSha256 = "1g15v13ysx09fy0b8qddw5fwql2pvwzc2g2h1ndhzpxvfy7fzpr1"; 21 22 - buildInputs = lib.optionals stdenv.isDarwin [ Security ]; 23 24 cargoPatches = [ 25 # Add Cargo.lock file, https://github.com/rozgo/anevicon/pull/1 ··· 29 sha256 = "02syzm7irn4slr3s5dwwhvg1qx8fdplwlhza8gfkc6ajl7vdc7ri"; 30 }) 31 ]; 32 33 meta = with lib; { 34 description = "UDP-based load generator";
··· 3 , fetchFromGitHub 4 , fetchpatch 5 , rustPlatform 6 + , libiconv 7 , Security 8 }: 9 ··· 20 21 cargoSha256 = "1g15v13ysx09fy0b8qddw5fwql2pvwzc2g2h1ndhzpxvfy7fzpr1"; 22 23 + buildInputs = lib.optionals stdenv.isDarwin [ libiconv Security ]; 24 25 cargoPatches = [ 26 # Add Cargo.lock file, https://github.com/rozgo/anevicon/pull/1 ··· 30 sha256 = "02syzm7irn4slr3s5dwwhvg1qx8fdplwlhza8gfkc6ajl7vdc7ri"; 31 }) 32 ]; 33 + 34 + # Tries to send large UDP packets that Darwin rejects. 35 + doCheck = !stdenv.isDarwin; 36 37 meta = with lib; { 38 description = "UDP-based load generator";