Skip to content

Commit

Permalink
chore/newrelic-infra-1-58-0 (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
DavSanchez authored Dec 2, 2024
1 parent 1ee2e88 commit 817175e
Showing 1 changed file with 6 additions and 9 deletions.
15 changes: 6 additions & 9 deletions pkgs/infrastructure-agent.nix
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
}:
buildGoModule rec {
pname = "infrastructure-agent";
version = "1.57.2";
version = "1.58.0";

src = fetchFromGitHub {
owner = "newrelic";
repo = "infrastructure-agent";
rev = version;
hash = "sha256-74aBFGBrrEiqAVG3kVYLOz3P4VTCw4G3vV/iBucFPYs=";
hash = "sha256-L2er3DJ9zZb8AosHwOdNEsvQc7XPwQfGaa8d72iJOik=";
};

vendorHash = "sha256-0WLL15CXRi/flp4EV3Qt0wO1VaUmAokzsChpiqjs+YQ=";
Expand All @@ -24,22 +24,19 @@ buildGoModule rec {
"-X main.gitCommit=${src.rev}"
];

CGO_ENABLED =
if stdenv.isDarwin
then "1"
else "0";
CGO_ENABLED = if stdenv.hostPlatform.isDarwin then "1" else "0";

subPackages = [
"cmd/newrelic-infra"
"cmd/newrelic-infra-ctl"
"cmd/newrelic-infra-service"
];

meta = with lib; {
meta = {
description = "New Relic Infrastructure Agent";
homepage = "https://github.com/newrelic/infrastructure-agent.git";
license = licenses.asl20;
maintainers = with maintainers; [ DavSanchez ];
license = lib.licenses.asl20;
maintainers = with lib.maintainers; [ davsanchez ];
mainProgram = "newrelic-infra";
};
}

0 comments on commit 817175e

Please sign in to comment.