shellhub-agent: fix build with libxcrypt

This commit is contained in:
Franz Pletz 2022-09-30 02:57:18 +02:00 committed by Martin Weinelt
parent 58bbfeb698
commit 7b33ea4752
No known key found for this signature in database
GPG key ID: 87C1E9888F856759

View file

@ -4,6 +4,7 @@
, gitUpdater
, makeWrapper
, openssh
, libxcrypt
}:
buildGoModule rec {
@ -31,6 +32,7 @@ buildGoModule rec {
};
nativeBuildInputs = [ makeWrapper ];
buildInputs = [ libxcrypt ];
postInstall = ''
wrapProgram $out/bin/agent --prefix PATH : ${lib.makeBinPath [ openssh ]}