Merge pull request #118295 from otavio/shellhub-scp

shellhub-agent: Fix scp support
This commit is contained in:
Sandro 2021-04-02 16:44:12 +02:00 committed by GitHub
commit 5c966acad4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";