fix: influxdb requires go1.17 (#185896)

influxdb can't build on darwin (amd64) using go1.18 because one of its
dependencies is failing. Until the upstream fixes the issue, we have to
pin the build to go1.17.

Co-authored-by: Nikola Knezevic <nikola.knezevic@imc.com>
This commit is contained in:
Nikola Knežević 2022-08-11 12:48:56 +02:00 committed by GitHub
parent 98a1d72283
commit 3a8c7aca86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -22916,7 +22916,10 @@ with pkgs;
percona-server56 = callPackage ../servers/sql/percona/5.6.x.nix { stdenv = gcc10StdenvCompat; };
percona-server = percona-server56;
influxdb = callPackage ../servers/nosql/influxdb { };
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;
};
influxdb2-server = callPackage ../servers/nosql/influxdb2 { };
influxdb2-cli = callPackage ../servers/nosql/influxdb2/cli.nix { };
# For backwards compatibility with older versions of influxdb2,