@@ -62,6 +62,8 @@ stdenv.mkDerivation rec {
6262 nativeBuildInputs = [ pkgconfig ];
6363 buildInputs = [ libnl openssl sqlite ];
6464
65+ outputs = [ "out" "man" ];
66+
6567 extraConfig = ''
6668 CONFIG_DRIVER_WIRED=y
6769 CONFIG_LIBNL32=y
@@ -103,6 +105,10 @@ stdenv.mkDerivation rec {
103105 '';
104106
105107 preInstall = "mkdir -p $out/bin";
108+ postInstall = ''
109+ install -vD hostapd.8 -t $man/share/man/man8
110+ install -vD hostapd_cli.1 -t $man/share/man/man1
111+ '';
106112
107113 meta = {
108114 homepage = http://hostap.epitest.fi;