diff options
author | Robin Gloster <mail@glob.in> | 2018-05-22 11:01:01 +0200 |
---|---|---|
committer | Robin Gloster <mail@glob.in> | 2018-05-22 14:30:54 +0200 |
commit | 04a2885dbf910ade6fee9e600e66fab8750b4eb4 (patch) | |
tree | 13adedad870ab75a138e97fbc7ddc627f107d42b /pkgs/os-specific/linux/hostapd/default.nix | |
parent | a32b6d5c9a5c6aaa6bf05939043f2a771b43e763 (diff) | |
download | nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar.gz nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar.bz2 nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar.lz nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar.xz nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.tar.zst nixpkgs-04a2885dbf910ade6fee9e600e66fab8750b4eb4.zip |
hostapd: install man pages
Diffstat (limited to 'pkgs/os-specific/linux/hostapd/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/hostapd/default.nix | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/hostapd/default.nix b/pkgs/os-specific/linux/hostapd/default.nix index fa4d604b400..8ae082ba9d4 100644 --- a/pkgs/os-specific/linux/hostapd/default.nix +++ b/pkgs/os-specific/linux/hostapd/default.nix @@ -62,6 +62,8 @@ stdenv.mkDerivation rec { nativeBuildInputs = [ pkgconfig ]; buildInputs = [ libnl openssl sqlite ]; + outputs = [ "out" "man" ]; + extraConfig = '' CONFIG_DRIVER_WIRED=y CONFIG_LIBNL32=y @@ -103,6 +105,10 @@ stdenv.mkDerivation rec { ''; preInstall = "mkdir -p $out/bin"; + postInstall = '' + install -vD hostapd.8 -t $man/share/man/man8 + install -vD hostapd_cli.1 -t $man/share/man/man1 + ''; meta = { homepage = http://hostap.epitest.fi; |