mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-29 06:45:54 +03:00
terraform-providers.elasticsearch: fix build on darwin
This commit is contained in:
parent
d77fc69768
commit
8a51989af0
@ -3,6 +3,7 @@
|
||||
, fetchFromGitHub
|
||||
, callPackage
|
||||
, buildGo112Module
|
||||
, Security
|
||||
}:
|
||||
let
|
||||
list = import ./data.nix;
|
||||
@ -29,6 +30,7 @@ in
|
||||
# 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;
|
||||
inherit Security;
|
||||
};
|
||||
gandi = callPackage ./gandi {};
|
||||
ibm = callPackage ./ibm {};
|
||||
|
@ -1,4 +1,4 @@
|
||||
{ stdenv, fetchFromGitHub, buildGoModule }:
|
||||
{ stdenv, fetchFromGitHub, buildGoModule, Security }:
|
||||
buildGoModule rec {
|
||||
pname = "terraform-provider-elasticsearch";
|
||||
version = "0.7.0";
|
||||
@ -12,6 +12,8 @@ buildGoModule rec {
|
||||
|
||||
modSha256 = "1xk21xswqwpv34j4ba4fj8lcbvfdd12x7rq1hrdyd21mdhmrhw0p";
|
||||
|
||||
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||
|
||||
subPackages = [ "." ];
|
||||
|
||||
# Terraform allow checking the provider versions, but this breaks
|
||||
|
@ -25969,6 +25969,7 @@ in
|
||||
terraform-providers = recurseIntoAttrs (
|
||||
callPackage ../applications/networking/cluster/terraform-providers {
|
||||
inherit buildGo112Module;
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
}
|
||||
);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user