gotools: fix darwin build
This commit is contained in:
parent
e7d2655efb
commit
cb75c0f905
@ -1,4 +1,4 @@
|
||||
{ stdenv, go, buildGoModule, fetchgit }:
|
||||
{ stdenv, go, buildGoModule, fetchgit, Security }:
|
||||
|
||||
buildGoModule rec {
|
||||
pname = "gotools-unstable";
|
||||
@ -11,6 +11,8 @@ buildGoModule rec {
|
||||
sha256 = "16m62m303j4wqfjr1401xpqpb9m11bs6qc2dhf6x2za2d9pycish";
|
||||
};
|
||||
|
||||
buildInputs = stdenv.lib.optional stdenv.isDarwin Security;
|
||||
|
||||
# Build of golang.org/x/tools/gopls fails with:
|
||||
# can't load package: package golang.org/x/tools/gopls: unknown import path "golang.org/x/tools/gopls": cannot find module providing package golang.org/x/tools/gopls
|
||||
# That is most probably caused by golang.org/x/tools/gopls containing a separate Go module.
|
||||
|
@ -17132,7 +17132,9 @@ in
|
||||
|
||||
go-tools = callPackage ../development/tools/go-tools { };
|
||||
|
||||
gotools = callPackage ../development/tools/gotools { };
|
||||
gotools = callPackage ../development/tools/gotools {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
gotop = callPackage ../tools/system/gotop { };
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user