git.iko.soy/typeable/nixpkgs
on master help sign in
Merge pull request #101543 from iblech/patch-21
commit6180ee52432fff9f1f54103673c56d3fbd245c02 authorSandro <sandro.jaeckel@gmail.com> dateFri 25 Dec 2020, 13:02 (6 years ago) parente883b0ceff8479
1 file changed+5−1
pkgs/tools/networking/libreswan/default.nix+5−1
pkgs/tools/networking/libreswan/default.nix+5−1
@@ -29,6 +29,10 @@ stdenv.mkDerivation rec {
2929 "-Wno-error=format-truncation"
3030 "-Wno-error=pointer-compare"
3131 "-Wno-error=stringop-truncation"
32+ # The following flag allows libreswan v3.32 to work with NSS 3.22, see
33+ # https://github.com/libreswan/libreswan/issues/334.
34+ # This flag should not be needed for libreswan v3.33 (which is not yet released).
35+ "-DNSS_PKCS11_2_0_COMPAT=1"
3236 ];
3337
3438 nativeBuildInputs = [ makeWrapper pkgconfig ];
@@ -82,7 +86,7 @@ stdenv.mkDerivation rec {
8286 meta = with stdenv.lib; {
8387 homepage = "https://libreswan.org";
8488 description = "A free software implementation of the VPN protocol based on IPSec and the Internet Key Exchange";
85− platforms = platforms.linux ++ platforms.darwin ++ platforms.freebsd;
89+ platforms = platforms.linux ++ platforms.freebsd;
8690 license = licenses.gpl2;
8791 maintainers = [ maintainers.afranchuk ];
8892 };