git.iko.soy/typeable/nixpkgs
on master help sign in
i2pd: enable on all unix platforms, enable parallel build
commit4ba0b201a5ef418696e60b2caea8fe2b5b118ee8 authorPavol Rusnak <pavol@rusnak.io> dateSat 13 Feb 2021, 18:35 (6 years ago) parent04250bb
1 file changed+4−1
pkgs/tools/networking/i2pd/default.nix+4−1
pkgs/tools/networking/i2pd/default.nix+4−1
@@ -20,6 +20,7 @@ stdenv.mkDerivation rec {
2020
2121 buildInputs = with lib; [ boost zlib openssl ]
2222 ++ optional upnpSupport miniupnpc;
23+
2324 makeFlags =
2425 let ynf = a: b: a + "=" + (if b then "yes" else "no"); in
2526 [ (ynf "USE_AESNI" aesniSupport)
@@ -27,6 +28,8 @@ stdenv.mkDerivation rec {
2728 (ynf "USE_UPNP" upnpSupport)
2829 ];
2930
31+ enableParallelBuilding = true;
32+
3033 installPhase = ''
3134 install -D i2pd $out/bin/i2pd
3235 '';
@@ -36,6 +39,6 @@ stdenv.mkDerivation rec {
3639 description = "Minimal I2P router written in C++";
3740 license = licenses.bsd3;
3841 maintainers = with maintainers; [ edwtjo ];
39− platforms = platforms.linux;
42+ platforms = platforms.unix;
4043 };
4144}