prometheus: 2.22.1 -> 2.22.2

https://github.com/prometheus/prometheus/releases/tag/v2.22.2
This commit is contained in:
zowoq 2020-11-19 08:08:09 +10:00
parent 8ec3ec7226
commit 20f3e3a02b

View File

@ -1,13 +1,13 @@
{ lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage, nixosTests }:
{ stdenv, lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage, nixosTests }:
let
version = "2.22.1";
version = "2.22.2";
src = fetchFromGitHub {
rev = "v${version}";
owner = "prometheus";
repo = "prometheus";
sha256 = "0wilx675b0a8ww7bj36hzcaip0zqzndkzan04rjsjigz5bw6kba0";
sha256 = "04pf3shdfd25wf8snkan5hzv1gjzazjw06i11xaamnc8gfahnzdv";
};
webui = mkYarnPackage {
@ -59,7 +59,7 @@ in buildGoPackage rec {
cp -a $src/console_libraries $src/consoles $out/etc/prometheus
'';
doCheck = true;
doCheck = !stdenv.isDarwin; # https://hydra.nixos.org/build/130673870/nixlog/1
passthru.tests = { inherit (nixosTests) prometheus; };