all-packages: use go 1.12 for terraform-providers.elasticsearch

This commit is contained in:
Roman Volosatovs 2019-09-17 00:47:28 +02:00
parent fcdc280d7f
commit 8c33df9d65
No known key found for this signature in database
GPG key ID: 2660C5FDCEBE6F87
2 changed files with 11 additions and 3 deletions

View file

@ -2,6 +2,7 @@
, buildGoPackage
, fetchFromGitHub
, callPackage
, buildGo112Module
}:
let
list = import ./data.nix;
@ -16,7 +17,7 @@ let
inherit owner repo sha256;
rev = "v${version}";
};
# Terraform allow checking the provider versions, but this breaks
# if the versions are not provided via file paths.
@ -24,7 +25,12 @@ let
};
in
{
elasticsearch = callPackage ./elasticsearch {};
elasticsearch = callPackage ./elasticsearch {
# Version 0.7.0 fails to build with go 1.13 due to dependencies:
# verifying git.apache.org/thrift.git@v0.12.0/go.mod: git.apache.org/thrift.git@v0.12.0/go.mod: Get https://sum.golang.org/lookup/git.apache.org/thrift.git@v0.12.0: dial tcp: lookup sum.golang.org on [::1]:53: read udp [::1]:52968->[::1]:53: read: connection refused
# verifying github.com/hashicorp/terraform@v0.12.0/go.mod: github.com/hashicorp/terraform@v0.12.0/go.mod: Get https://sum.golang.org/lookup/github.com/hashicorp/terraform@v0.12.0: dial tcp: lookup sum.golang.org on [::1]:53: read udp [::1]:52968->[::1]:53: read: connection refused
buildGoModule = buildGo112Module;
};
gandi = callPackage ./gandi {};
ibm = callPackage ./ibm {};
libvirt = callPackage ./libvirt {};

View file

@ -24607,7 +24607,9 @@ in
terraform-full = terraform.full;
terraform-providers = recurseIntoAttrs (
callPackage ../applications/networking/cluster/terraform-providers {}
callPackage ../applications/networking/cluster/terraform-providers {
inherit buildGo112Module;
}
);
terraform-docs = callPackage ../applications/networking/cluster/terraform-docs {};