prometheus-ebpf-exporter: move CGO_* env vars into env for structuredAttrs
This commit is contained in:
@@ -38,7 +38,7 @@ buildGoModule.override { stdenv = clangStdenv; } (finalAttrs: {
|
||||
libz
|
||||
];
|
||||
|
||||
CGO_LDFLAGS = "-l bpf";
|
||||
env.CGO_LDFLAGS = "-l bpf";
|
||||
|
||||
hardeningDisable = [ "zerocallusedregs" ];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user