dogdns: install man pages

+10 -1
+10 -1
pkgs/tools/networking/dogdns/default.nix
··· 5 5 , stdenv 6 6 , pkg-config 7 7 , openssl 8 + , just 9 + , pandoc 8 10 , Security 9 11 }: 10 12 ··· 19 21 sha256 = "sha256-y3T0vXg7631FZ4bzcbQjz3Buui/DFxh9LG8BZWwynp0="; 20 22 }; 21 23 22 - nativeBuildInputs = [ installShellFiles ] 24 + nativeBuildInputs = [ installShellFiles just pandoc ] 23 25 ++ lib.optionals stdenv.isLinux [ pkg-config ]; 24 26 buildInputs = lib.optionals stdenv.isLinux [ openssl ] 25 27 ++ lib.optionals stdenv.isDarwin [ Security ]; 26 28 29 + outputs = [ "out" "man" ]; 30 + 31 + postBuild = '' 32 + just man 33 + ''; 34 + 27 35 cargoSha256 = "sha256-agepQVJbqbjzFbEBKbM7BNxc8FlklOrCsTgCAOcuptc="; 28 36 29 37 postInstall = '' 30 38 installShellCompletion completions/dog.{bash,fish,zsh} 39 + installManPage ./target/man/*.1 31 40 ''; 32 41 33 42 meta = with lib; {