feat: build hp_agent with nix
This commit is contained in:
parent
8c79c4ff04
commit
c6a7a0faa1
10
nix/agent.nix
Normal file
10
nix/agent.nix
Normal file
@ -0,0 +1,10 @@
|
|||||||
|
{buildGoModule}:
|
||||||
|
buildGoModule {
|
||||||
|
pname = "hp_agent";
|
||||||
|
# TODO: take the latest `git tag`, if commits do not match, append `-SNAPSHOT`.
|
||||||
|
version = "0.5.3";
|
||||||
|
src = ../.;
|
||||||
|
vendorHash = "sha256-G0kahv3mPTL/mxU2U+0IytJaFVPXMbMBktbLMfM0BO8=";
|
||||||
|
ldflags = ["-s" "-w"];
|
||||||
|
env.CGO_ENABLED = 0;
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user