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
|
, fetchFromGitHub
|
||||||
, genericUpdater
|
, genericUpdater
|
||||||
, common-updater-scripts
|
, common-updater-scripts
|
||||||
|
, makeWrapper
|
||||||
|
, openssh
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
|
@ -31,6 +33,12 @@ buildGoModule rec {
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
nativeBuildInputs = [ makeWrapper ];
|
||||||
|
|
||||||
|
postInstall = ''
|
||||||
|
wrapProgram $out/bin/agent --prefix PATH : ${lib.makeBinPath [ openssh ]}
|
||||||
|
'';
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with lib; {
|
||||||
description =
|
description =
|
||||||
"Enables easy access any Linux device behind firewall and NAT";
|
"Enables easy access any Linux device behind firewall and NAT";
|
||||||
|
|
Loading…
Reference in New Issue