From 92e372174cc0109b9987f7a1888245ac6b196102 Mon Sep 17 00:00:00 2001 From: Mario Rodas Date: Tue, 29 Nov 2022 04:20:00 +0000 Subject: obfs4: install manpage --- pkgs/tools/networking/obfs4/default.nix | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'pkgs') diff --git a/pkgs/tools/networking/obfs4/default.nix b/pkgs/tools/networking/obfs4/default.nix index 8eb3e8f55d05b..edaf6d27c8d84 100644 --- a/pkgs/tools/networking/obfs4/default.nix +++ b/pkgs/tools/networking/obfs4/default.nix @@ -1,4 +1,4 @@ -{ lib, buildGoModule, fetchFromGitLab }: +{ lib, buildGoModule, fetchFromGitLab, installShellFiles }: buildGoModule rec { pname = "obfs4"; @@ -17,6 +17,12 @@ buildGoModule rec { ldflags = [ "-s" "-w" ]; + nativeBuildInputs = [ installShellFiles ]; + + postInstall = '' + installManPage doc/obfs4proxy.1 + ''; + meta = with lib; { description = "Circumvents censorship by transforming Tor traffic between clients and bridges"; longDescription = '' -- cgit 1.4.1