@@ -1,13 +1,13 @@
11{ lib, go, buildGoPackage, fetchFromGitHub, mkYarnPackage }:
22
33let
4− version = "2.14.0";
4+ version = "2.15.2";
55
66 src = fetchFromGitHub {
77 rev = "v${version}";
88 owner = "prometheus";
99 repo = "prometheus";
10− sha256 = "0zmxj78h3cnqbhsqab940hyzpim5i9r81b15a57f3dnrrd10p287";
10+ sha256 = "0gl11qqbq57vkx226n8z4x07fwvly5f21y6dn20kjh2fxigmrb2n";
1111 };
1212
1313 webui = mkYarnPackage {
@@ -59,12 +59,6 @@ in buildGoPackage rec {
5959 cp -a $src/console_libraries $src/consoles $bin/etc/prometheus
6060 '';
6161
62− # Disable module-mode, because Go 1.13 automatically enables it if there is
63− # go.mod file. Remove after https://github.com/NixOS/nixpkgs/pull/73380
64− preCheck = ''
65− export GO111MODULE=off
66− '';
67−
6862 doCheck = true;
6963
7064 meta = with lib; {