anevicon: fix darwin build

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