summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Scott <code@humanleg.org.uk>2023-05-27 15:59:04 +0100
committerGitHub <noreply@github.com>2023-05-27 15:59:04 +0100
commitb65f4b653bcc9f6630f4dfc3830aadd592c3c9bf (patch)
treefa21183e222f03aa9a3660451d21d2ea33c08de9
parentMerge pull request #170473 from NixOS/grahamc-patch-3 (diff)
parentprometheus: skip tests on 32-bit platforms (diff)
downloadnixpkgs-b65f4b653bcc9f6630f4dfc3830aadd592c3c9bf.tar.gz
Merge pull request #234398 from lorenz/fix-prom
prometheus: skip tests on 32-bit platforms
-rw-r--r--pkgs/servers/monitoring/prometheus/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/servers/monitoring/prometheus/default.nix b/pkgs/servers/monitoring/prometheus/default.nix
index 1724c0f53faa..0abdb97a5421 100644
--- a/pkgs/servers/monitoring/prometheus/default.nix
+++ b/pkgs/servers/monitoring/prometheus/default.nix
@@ -120,7 +120,9 @@ buildGoModule rec {
moveToOutput bin/promtool $cli
'';
- doCheck = !stdenv.isDarwin; # https://hydra.nixos.org/build/130673870/nixlog/1
+ # https://hydra.nixos.org/build/130673870/nixlog/1
+ # Test mock data uses 64 bit data without an explicit (u)int64
+ doCheck = !(stdenv.isDarwin || stdenv.hostPlatform.parsed.cpu.bits < 64);
passthru.tests = { inherit (nixosTests) prometheus; };