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
3
, fetchFromGitHub
4
4
, fetchpatch
5
5
, rustPlatform
6
6
+
, libiconv
6
7
, Security
7
8
}:
8
9
···
19
20
20
21
cargoSha256 = "1g15v13ysx09fy0b8qddw5fwql2pvwzc2g2h1ndhzpxvfy7fzpr1";
21
22
22
22
-
buildInputs = lib.optionals stdenv.isDarwin [ Security ];
23
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
33
+
34
34
+
# Tries to send large UDP packets that Darwin rejects.
35
35
+
doCheck = !stdenv.isDarwin;
32
36
33
37
meta = with lib; {
34
38
description = "UDP-based load generator";