We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents ea51557 + 410b985 commit 5e3cb11Copy full SHA for 5e3cb11
pkgs/by-name/i2/i2pd/package.nix
@@ -8,7 +8,6 @@
8
openssl,
9
upnpSupport ? true,
10
miniupnpc,
11
- aesniSupport ? stdenv.hostPlatform.aesSupport,
12
}:
13
14
stdenv.mkDerivation rec {
@@ -37,14 +36,9 @@ stdenv.mkDerivation rec {
37
36
installShellFiles
38
];
39
40
- makeFlags =
41
- let
42
- ynf = a: b: a + "=" + (if b then "yes" else "no");
43
- in
44
- [
45
- (ynf "USE_AESNI" aesniSupport)
46
- (ynf "USE_UPNP" upnpSupport)
47
- ];
+ makeFlags = [
+ "USE_UPNP=${if upnpSupport then "yes" else "no"}"
+ ];
48
49
enableParallelBuilding = true;
50
0 commit comments