From 04a2885dbf910ade6fee9e600e66fab8750b4eb4 Mon Sep 17 00:00:00 2001 From: Robin Gloster Date: Tue, 22 May 2018 11:01:01 +0200 Subject: [PATCH] hostapd: install man pages --- pkgs/os-specific/linux/hostapd/default.nix | 6 ++++++ 1 file changed, 6 insertions(+) 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;