mirror of
https://github.com/CHN-beta/nixpkgs.git
synced 2026-01-11 18:32:23 +08:00
coroot-node-agent: support running it without GPU (#472006)
This commit is contained in:
@@ -22,6 +22,11 @@ buildGoModule rec {
|
||||
|
||||
CGO_CFLAGS = "-I ${systemdLibs}/include";
|
||||
|
||||
ldflags = [
|
||||
"-extldflags='-Wl,-z,lazy'"
|
||||
"-X 'github.com/coroot/coroot-node-agent/flags.Version=${version}'"
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Prometheus exporter based on eBPF";
|
||||
homepage = "https://github.com/coroot/coroot-node-agent";
|
||||
|
||||
Reference in New Issue
Block a user