ssh-tpm-agent: install man pages
This commit is contained in:
@@ -3,6 +3,8 @@
|
||||
buildGoModule,
|
||||
fetchFromGitHub,
|
||||
nix-update-script,
|
||||
installShellFiles,
|
||||
asciidoctor,
|
||||
openssh,
|
||||
openssl,
|
||||
}:
|
||||
@@ -22,13 +24,14 @@ buildGoModule (finalAttrs: {
|
||||
|
||||
vendorHash = "sha256-N7JuMUy5Z+HVhxsqESlBkHcHVipRYM8ncx/wR77k1fw=";
|
||||
|
||||
buildInputs = [
|
||||
openssl
|
||||
nativeBuildInputs = [
|
||||
installShellFiles
|
||||
asciidoctor
|
||||
];
|
||||
|
||||
nativeCheckInputs = [
|
||||
openssh
|
||||
];
|
||||
buildInputs = [ openssl ];
|
||||
|
||||
nativeCheckInputs = [ openssh ];
|
||||
|
||||
# disable broken tests, see https://github.com/NixOS/nixpkgs/pull/394097
|
||||
preCheck = ''
|
||||
@@ -37,6 +40,11 @@ buildGoModule (finalAttrs: {
|
||||
substituteInPlace internal/keyring/threadkeyring_test.go --replace-fail ENOKEY ENOENT
|
||||
'';
|
||||
|
||||
postInstall = ''
|
||||
make man
|
||||
installManPage man/*.1
|
||||
'';
|
||||
|
||||
passthru.updateScript = nix-update-script { };
|
||||
|
||||
meta = {
|
||||
|
||||
Reference in New Issue
Block a user