diff options
author | Hendrik Schaeidt <he.schaeidt@gmail.com> | 2016-10-06 20:20:59 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-10-06 20:24:02 +0200 |
commit | d6d12ebc559e3028ff8704a7fb130f2661363da2 (patch) | |
tree | eaf57d79cd6193990b07d1b8c77e0f8933ed85ae | |
parent | 3dab3b6fd69d5759f5afb0a3fc0c852d289a5c74 (diff) |
openvpn: disable libpam support on OSX to enable build
-rw-r--r-- | pkgs/tools/networking/openvpn/default.nix | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/pkgs/tools/networking/openvpn/default.nix b/pkgs/tools/networking/openvpn/default.nix index 73d10014bbfc5..13e1c68befdad 100644 --- a/pkgs/tools/networking/openvpn/default.nix +++ b/pkgs/tools/networking/openvpn/default.nix @@ -24,7 +24,8 @@ stdenv.mkDerivation rec { "--enable-systemd" "--enable-iproute2" "IPROUTE=${iproute}/sbin/ip" ] - ++ optional pkcs11Support "--enable-pkcs11"; + ++ optional pkcs11Support "--enable-pkcs11" + ++ optional stdenv.isDarwin "--disable-plugin-auth-pam"; postInstall = '' mkdir -p $out/share/doc/openvpn/examples @@ -40,6 +41,6 @@ stdenv.mkDerivation rec { homepage = http://openvpn.net/; license = stdenv.lib.licenses.gpl2; maintainers = [ stdenv.lib.maintainers.viric ]; - platforms = stdenv.lib.platforms.linux; + platforms = stdenv.lib.platforms.unix; }; } |