prometheus-node-exporter: fix version info (#126580)

Closes #126359

authored by

Maximilian Bosch and committed by
GitHub
722e5ccf 8e70649e

+6 -2
+6 -2
pkgs/servers/monitoring/prometheus/node-exporter.nix
··· 23 goPackagePath = "github.com/prometheus/node_exporter"; 24 in '' 25 -ldflags= 26 - -X ${goPackagePath}/vendor/github.com/prometheus/common/version.Version=${version} 27 - -X ${goPackagePath}/vendor/github.com/prometheus/common/version.Revision=${rev} 28 ''; 29 30 passthru.tests = { inherit (nixosTests.prometheus-exporters) node; };
··· 23 goPackagePath = "github.com/prometheus/node_exporter"; 24 in '' 25 -ldflags= 26 + -s -w 27 + -X github.com/prometheus/common/version.Version=${version} 28 + -X github.com/prometheus/common/version.Revision=${rev} 29 + -X github.com/prometheus/common/version.Branch=unknown 30 + -X github.com/prometheus/common/version.BuildUser=nix@nixpkgs 31 + -X github.com/prometheus/common/version.BuildDate=unknown 32 ''; 33 34 passthru.tests = { inherit (nixosTests.prometheus-exporters) node; };