Commit e1a0a7aa authored by Lorenz Brun's avatar Lorenz Brun
Browse files

prometheus: skip tests on 32-bit platforms

parent 8ffd7bb5
Loading
Loading
Loading
Loading
+3 −1
Original line number Diff line number Diff line
@@ -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; };