prometheus-ebpf-exporter: move CGO_* env vars into env for structuredAttrs

This commit is contained in:
Stefan Frijters
2026-02-19 18:54:36 +01:00
parent d5177e96a2
commit df2b007eb6
@@ -38,7 +38,7 @@ buildGoModule.override { stdenv = clangStdenv; } (finalAttrs: {
libz
];
CGO_LDFLAGS = "-l bpf";
env.CGO_LDFLAGS = "-l bpf";
hardeningDisable = [ "zerocallusedregs" ];