diff options
author | Sandro <sandro.jaeckel@gmail.com> | 2022-10-01 01:25:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-01 01:25:07 +0200 |
commit | 0a43ebea9e25cacfca002c9d8da7d051926a5b20 (patch) | |
tree | daafaf1fead0ffb39c2e8da62019fc9355755cef | |
parent | 99bcca1e34404869e55bf30dddbb88530a4156c5 (diff) | |
parent | 64abd830b4b7e807ab9aced7d6e7669e539e43f3 (diff) |
Merge pull request #193490 from SuperSandro2000/i2pd
-rw-r--r-- | pkgs/tools/networking/i2pd/default.nix | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/pkgs/tools/networking/i2pd/default.nix b/pkgs/tools/networking/i2pd/default.nix index f99d10deed84..941d60eb9270 100644 --- a/pkgs/tools/networking/i2pd/default.nix +++ b/pkgs/tools/networking/i2pd/default.nix @@ -1,13 +1,11 @@ { lib, stdenv, fetchFromGitHub , installShellFiles , boost, zlib, openssl -, upnpSupport ? true, miniupnpc ? null +, upnpSupport ? true, miniupnpc , aesniSupport ? stdenv.hostPlatform.aesSupport , avxSupport ? stdenv.hostPlatform.avxSupport }: -assert upnpSupport -> miniupnpc != null; - stdenv.mkDerivation rec { pname = "i2pd"; version = "2.43.0"; @@ -19,8 +17,8 @@ stdenv.mkDerivation rec { sha256 = "sha256-JIO1Zm7me/SX0W7sVHOesERnqvC7jy0Fu1vfKFePFd0="; }; - buildInputs = with lib; [ boost zlib openssl ] - ++ optional upnpSupport miniupnpc; + buildInputs = [ boost zlib openssl ] + ++ lib.optional upnpSupport miniupnpc; nativeBuildInputs = [ installShellFiles |