Merge pull request #234398 from lorenz/fix-prom

prometheus: skip tests on 32-bit platforms
This commit is contained in:
Robert Scott
2023-05-27 15:59:04 +01:00
committed by GitHub
@@ -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; };