Skip to content

Commit 5e3cb11

Browse files
i2pd: remove unused USE_AESNI flag (NixOS#391890)
2 parents ea51557 + 410b985 commit 5e3cb11

File tree

1 file changed

+3
-9
lines changed

1 file changed

+3
-9
lines changed

pkgs/by-name/i2/i2pd/package.nix

Lines changed: 3 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@
88
openssl,
99
upnpSupport ? true,
1010
miniupnpc,
11-
aesniSupport ? stdenv.hostPlatform.aesSupport,
1211
}:
1312

1413
stdenv.mkDerivation rec {
@@ -37,14 +36,9 @@ stdenv.mkDerivation rec {
3736
installShellFiles
3837
];
3938

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-
];
39+
makeFlags = [
40+
"USE_UPNP=${if upnpSupport then "yes" else "no"}"
41+
];
4842

4943
enableParallelBuilding = true;
5044

0 commit comments

Comments
 (0)