diff --git a/pkgs/tools/networking/openvpn/default.nix b/pkgs/tools/networking/openvpn/default.nix index 98c3dd484dc8..1310fb7d0473 100644 --- a/pkgs/tools/networking/openvpn/default.nix +++ b/pkgs/tools/networking/openvpn/default.nix @@ -16,6 +16,15 @@ stdenv.mkDerivation rec { --with-iproute-path=${iproute}/sbin/ip ''; + postInstall = '' + mkdir -p $out/share/doc/openvpn/examples + cp -r sample-config-files/ $out/share/doc/openvpn/examples + cp -r sample-keys/ $out/share/doc/openvpn/examples + cp -r easy-rsa/ $out/share/doc/openvpn/examples + rm -r $out/share/doc/openvpn/examples/easy-rsa/Windows + cp -r sample-scripts/ $out/share/doc/openvpn/examples + ''; + meta = { description="OpenVPN is a robust and highly flexible tunneling application compatible with many OSes."; homepage="http://openvpn.net/";