tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
lol
0
fork
atom
overview
issues
pulls
pipelines
anevicon: fix darwin build
Stéphan Kochen
4 years ago
967c6d86
7c35d1e7
+5
-1
1 changed file
expand all
collapse all
unified
split
pkgs
tools
networking
anevicon
default.nix
+5
-1
pkgs/tools/networking/anevicon/default.nix
···
3
, fetchFromGitHub
4
, fetchpatch
5
, rustPlatform
0
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
];
0
0
0
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";