shellhub-agent: Fix scp support

We need to have access to the scp binary so we can use it to the
transfer of files or the file transfer fails to run.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
wip/yesman
Otavio Salvador 3 years ago
parent c0e8818520
commit a3fa479eae
  1. 8
      pkgs/applications/networking/shellhub-agent/default.nix

@ -3,6 +3,8 @@
, fetchFromGitHub
, genericUpdater
, common-updater-scripts
, makeWrapper
, openssh
}:
buildGoModule rec {
@ -31,6 +33,12 @@ buildGoModule rec {
};
};
nativeBuildInputs = [ makeWrapper ];
postInstall = ''
wrapProgram $out/bin/agent --prefix PATH : ${lib.makeBinPath [ openssh ]}
'';
meta = with lib; {
description =
"Enables easy access any Linux device behind firewall and NAT";

Loading…
Cancel
Save