influxdb: build with Go 1.18 instead of 1.17

Go 1.17 is EOL.
This commit is contained in:
Thomas Gerbet 2022-10-04 23:19:41 +02:00 committed by zowoq
parent f010d3721e
commit d8b936c372
2 changed files with 3 additions and 5 deletions

View File

@ -1,4 +1,4 @@
{ lib, buildGoModule, fetchFromGitHub }:
{ lib, buildGoModule, fetchFromGitHub, stdenv }:
buildGoModule rec {
pname = "influxdb";
@ -24,5 +24,6 @@ buildGoModule rec {
license = licenses.mit;
homepage = "https://influxdata.com/";
maintainers = with maintainers; [ offline zimbatm ];
broken = stdenv.isDarwin; # build fails with go > 1.17
};
}

View File

@ -23742,10 +23742,7 @@ with pkgs;
immudb = callPackage ../servers/nosql/immudb { };
influxdb = callPackage ../servers/nosql/influxdb {
# pinned due to build failure or vendoring problems. When unpinning double check with: nix-build -A $name.go-modules --rebuild
buildGoModule = buildGo117Module;
};
influxdb = callPackage ../servers/nosql/influxdb { };
influxdb2-server = callPackage ../servers/nosql/influxdb2 { };
influxdb2-cli = callPackage ../servers/nosql/influxdb2/cli.nix { };
# For backwards compatibility with older versions of influxdb2,