diff options
author | Mario Rodas <marsam@users.noreply.github.com> | 2019-11-13 04:20:00 -0500 |
---|---|---|
committer | Mario Rodas <marsam@users.noreply.github.com> | 2019-11-13 04:20:00 -0500 |
commit | c42f58233c1504d7834c6208b522954277c71918 (patch) | |
tree | 40ae4cd7ffd89448d4b94e76ac1bc759703ce1a2 /pkgs/servers | |
parent | 717c53e52fd063c0a9c35c86741688d21ce09497 (diff) | |
download | nixlib-c42f58233c1504d7834c6208b522954277c71918.tar nixlib-c42f58233c1504d7834c6208b522954277c71918.tar.gz nixlib-c42f58233c1504d7834c6208b522954277c71918.tar.bz2 nixlib-c42f58233c1504d7834c6208b522954277c71918.tar.lz nixlib-c42f58233c1504d7834c6208b522954277c71918.tar.xz nixlib-c42f58233c1504d7834c6208b522954277c71918.tar.zst nixlib-c42f58233c1504d7834c6208b522954277c71918.zip |
prometheus: 2.13.1 -> 2.14.0
Changelog: https://github.com/prometheus/prometheus/releases/tag/v2.14.0
Diffstat (limited to 'pkgs/servers')
-rw-r--r-- | pkgs/servers/monitoring/prometheus/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/pkgs/servers/monitoring/prometheus/default.nix b/pkgs/servers/monitoring/prometheus/default.nix index 86bd7f9d5189..9559c9b5c37f 100644 --- a/pkgs/servers/monitoring/prometheus/default.nix +++ b/pkgs/servers/monitoring/prometheus/default.nix @@ -2,7 +2,7 @@ buildGoPackage rec { pname = "prometheus"; - version = "2.13.1"; + version = "2.14.0"; goPackagePath = "github.com/prometheus/prometheus"; @@ -10,7 +10,7 @@ buildGoPackage rec { rev = "v${version}"; owner = "prometheus"; repo = "prometheus"; - sha256 = "055qliv683b87dwj7pkprdpjgyp6s4s3cwvpbsl1gxidhlr4y69b"; + sha256 = "0zmxj78h3cnqbhsqab940hyzpim5i9r81b15a57f3dnrrd10p287"; }; buildFlagsArray = let @@ -31,6 +31,12 @@ buildGoPackage rec { cp -a $src/console_libraries $src/consoles $bin/etc/prometheus ''; + # Disable module-mode, because Go 1.13 automatically enables it if there is + # go.mod file. Remove after https://github.com/NixOS/nixpkgs/pull/73380 + preCheck = '' + export GO111MODULE=off + ''; + doCheck = true; meta = with lib; { |