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;