dcgm: add note about keeping dcgm and prometheus-dcgm-exporter in sync

+5 -2
+1 -1
pkgs/os-specific/linux/dcgm/default.nix
··· 85 85 # C.f. https://github.com/NVIDIA/DCGM/blob/7e1012302679e4bb7496483b32dcffb56e528c92/dcgmbuild/build.sh#L22 86 86 in gcc11Stdenv.mkDerivation rec { 87 87 pname = "dcgm"; 88 - version = "3.2.5"; 88 + version = "3.2.5"; # N.B: If you change this, be sure prometheus-dcgm-exporter supports this version. 89 89 90 90 src = fetchFromGitHub { 91 91 owner = "NVIDIA";
+4 -1
pkgs/servers/monitoring/prometheus/dcgm-exporter/default.nix
··· 7 7 }: 8 8 buildGoModule rec { 9 9 pname = "dcgm-exporter"; 10 - version = "3.2.5-3.1.7"; 10 + 11 + # The first portion of this version string corresponds to a compatible DCGM 12 + # version. 13 + version = "3.2.5-3.1.7"; # N.B: If you change this, update dcgm as well to the matching version. 11 14 12 15 src = fetchFromGitHub { 13 16 owner = "NVIDIA";