git.iko.soy/typeable/nixpkgs
on master help sign in
hostapd: install man pages
commit04a2885dbf910ade6fee9e600e66fab8750b4eb4 authorRobin Gloster <mail@glob.in> dateTue 22 May 2018, 11:01 (9 years ago) parenta32b6d5
1 file changed+6
pkgs/os-specific/linux/hostapd/default.nix+6
pkgs/os-specific/linux/hostapd/default.nix+6
@@ -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;