prometheus: 2.22.1 -> 2.22.2
https://github.com/prometheus/prometheus/releases/tag/v2.22.2
This commit is contained in:
parent
8ec3ec7226
commit
20f3e3a02b
@ -1,13 +1,13 @@
|
|||||||
{ lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage, nixosTests }:
|
{ stdenv, lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage, nixosTests }:
|
||||||
|
|
||||||
let
|
let
|
||||||
version = "2.22.1";
|
version = "2.22.2";
|
||||||
|
|
||||||
src = fetchFromGitHub {
|
src = fetchFromGitHub {
|
||||||
rev = "v${version}";
|
rev = "v${version}";
|
||||||
owner = "prometheus";
|
owner = "prometheus";
|
||||||
repo = "prometheus";
|
repo = "prometheus";
|
||||||
sha256 = "0wilx675b0a8ww7bj36hzcaip0zqzndkzan04rjsjigz5bw6kba0";
|
sha256 = "04pf3shdfd25wf8snkan5hzv1gjzazjw06i11xaamnc8gfahnzdv";
|
||||||
};
|
};
|
||||||
|
|
||||||
webui = mkYarnPackage {
|
webui = mkYarnPackage {
|
||||||
@ -59,7 +59,7 @@ in buildGoPackage rec {
|
|||||||
cp -a $src/console_libraries $src/consoles $out/etc/prometheus
|
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; };
|
passthru.tests = { inherit (nixosTests) prometheus; };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user