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