gen6dns: install manpage

This commit is contained in:
Mario Rodas 2022-09-08 04:20:00 +00:00
parent 9c0908cb82
commit 9c7d190b73

View File

@ -1,4 +1,4 @@
{ lib, stdenv, fetchurl }:
{ lib, stdenv, fetchurl, installShellFiles }:
stdenv.mkDerivation rec {
pname = "gen6dns";
@ -9,10 +9,16 @@ stdenv.mkDerivation rec {
hash = "sha256-MhYfgzbGPmrhPx89EpObrEkxaII7uz4TbWXeEGF7Xws=";
};
nativeBuildInputs = [ installShellFiles ];
preInstall = ''
mkdir -p $out/bin
'';
postInstall = ''
installManPage gen6dns.1
'';
makeFlags = [ "INSTALL_DIR=$(out)/bin" ];
meta = with lib; {