Loading pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , fetchFromGitHub , buildGoModule , nixosTests , smartmontools }: buildGoModule rec { Loading @@ -17,6 +18,11 @@ buildGoModule rec { vendorHash = "sha256-WUB2FgBl4Tybz7T0yvcSYIlG75NEhXpn1F0yuB9F21g="; postPatch = '' substituteInPlace main.go README.md \ --replace-fail /usr/sbin/smartctl ${lib.getExe smartmontools} ''; ldflags = [ "-X github.com/prometheus/common/version.Version=${version}" ]; Loading Loading
pkgs/servers/monitoring/prometheus/smartctl-exporter/default.nix +6 −0 Original line number Diff line number Diff line Loading @@ -2,6 +2,7 @@ , fetchFromGitHub , buildGoModule , nixosTests , smartmontools }: buildGoModule rec { Loading @@ -17,6 +18,11 @@ buildGoModule rec { vendorHash = "sha256-WUB2FgBl4Tybz7T0yvcSYIlG75NEhXpn1F0yuB9F21g="; postPatch = '' substituteInPlace main.go README.md \ --replace-fail /usr/sbin/smartctl ${lib.getExe smartmontools} ''; ldflags = [ "-X github.com/prometheus/common/version.Version=${version}" ]; Loading