From 410b9853bf4a872ccc56f06c58422782deae4d38 Mon Sep 17 00:00:00 2001 From: Daniel Nagy Date: Mon, 17 Mar 2025 18:00:00 +0100 Subject: [PATCH] i2pd: remove unused USE_AESNI flag Since release 2.55 that flag has been removed. Therefore we remove it to avoid confusion. References: https://github.com/PurpleI2P/i2pd/blob/2.55.0/ChangeLog#L19 https://github.com/PurpleI2P/i2pd/commit/48b62340ccfc6742d09b3d20a4aa16325391af3c --- pkgs/by-name/i2/i2pd/package.nix | 12 +++--------- 1 file changed, 3 insertions(+), 9 deletions(-) diff --git a/pkgs/by-name/i2/i2pd/package.nix b/pkgs/by-name/i2/i2pd/package.nix index 59a4f509feac..0f8399f9e4a5 100644 --- a/pkgs/by-name/i2/i2pd/package.nix +++ b/pkgs/by-name/i2/i2pd/package.nix @@ -8,7 +8,6 @@ openssl, upnpSupport ? true, miniupnpc, - aesniSupport ? stdenv.hostPlatform.aesSupport, }: stdenv.mkDerivation rec { @@ -37,14 +36,9 @@ stdenv.mkDerivation rec { installShellFiles ]; - makeFlags = - let - ynf = a: b: a + "=" + (if b then "yes" else "no"); - in - [ - (ynf "USE_AESNI" aesniSupport) - (ynf "USE_UPNP" upnpSupport) - ]; + makeFlags = [ + "USE_UPNP=${if upnpSupport then "yes" else "no"}" + ]; enableParallelBuilding = true;