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>
This commit is contained in:
parent
c0e8818520
commit
a3fa479eae
1 changed files with 8 additions and 0 deletions
|
@ -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…
Reference in a new issue