summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorLorenz Brun <lorenz@brun.one>2023-05-27 11:53:28 +0200
committergithub-actions[bot] <github-actions[bot]@users.noreply.github.com>2023-05-27 15:04:20 +0000
commit556740604e44e080fe86993b5159a2dd814098dd (patch)
treeed2d0237f6da906eb50551f5f5df0b1b2a169698 /pkgs/servers
parentd04b2c2d201735aa8480f35eca5a470e3b261078 (diff)
prometheus: skip tests on 32-bit platforms
(cherry picked from commit e1a0a7aa7610f0a4f11d1444cf77d06d7bf24cd9)
Diffstat (limited to 'pkgs/servers')
-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 1724c0f53faa3..0abdb97a54219 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; };