go-tools: fix build on darwin
This commit is contained in:
parent
7e03d4416b
commit
976a9ea16b
@ -1,6 +1,7 @@
|
|||||||
{ buildGoModule
|
{ buildGoModule
|
||||||
, lib
|
, stdenv
|
||||||
, fetchFromGitHub
|
, fetchFromGitHub
|
||||||
|
, Security
|
||||||
}:
|
}:
|
||||||
|
|
||||||
buildGoModule rec {
|
buildGoModule rec {
|
||||||
@ -16,9 +17,11 @@ buildGoModule rec {
|
|||||||
sha256 = "0pvi1mzhy6zgx4zfgdypbl4zhvgg11hl5qv7blf2qs0a96j2djhf";
|
sha256 = "0pvi1mzhy6zgx4zfgdypbl4zhvgg11hl5qv7blf2qs0a96j2djhf";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
buildInputs = stdenv.lib.optionals stdenv.isDarwin [ Security ];
|
||||||
|
|
||||||
modSha256 = "03560xjr2531xj87paskfx2zs364fz6y4kpsid8x08s1syq9nq7p";
|
modSha256 = "03560xjr2531xj87paskfx2zs364fz6y4kpsid8x08s1syq9nq7p";
|
||||||
|
|
||||||
meta = with lib; {
|
meta = with stdenv.lib; {
|
||||||
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
|
description = "A collection of tools and libraries for working with Go code, including linters and static analysis";
|
||||||
homepage = https://staticcheck.io;
|
homepage = https://staticcheck.io;
|
||||||
license = licenses.mit;
|
license = licenses.mit;
|
||||||
|
@ -17136,7 +17136,9 @@ in
|
|||||||
|
|
||||||
govendor = callPackage ../development/tools/govendor { };
|
govendor = callPackage ../development/tools/govendor { };
|
||||||
|
|
||||||
go-tools = callPackage ../development/tools/go-tools { };
|
go-tools = callPackage ../development/tools/go-tools {
|
||||||
|
inherit (darwin.apple_sdk.frameworks) Security;
|
||||||
|
};
|
||||||
|
|
||||||
gotools = callPackage ../development/tools/gotools { };
|
gotools = callPackage ../development/tools/gotools { };
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user