Merge pull request #118295 from otavio/shellhub-scp
shellhub-agent: Fix scp support
This commit is contained in:
commit
5c966acad4
@ -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 New Issue
Block a user