Merge pull request #83079 from LnL7/darwin-gotools
gotools: fix darwin build
This commit is contained in:
commit
ce12576dd0
2 changed files with 6 additions and 2 deletions
|
@ -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.
|
||||
|
|
|
@ -17296,7 +17296,9 @@ in
|
|||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
gotools = callPackage ../development/tools/gotools { };
|
||||
gotools = callPackage ../development/tools/gotools {
|
||||
inherit (darwin.apple_sdk.frameworks) Security;
|
||||
};
|
||||
|
||||
gotop = callPackage ../tools/system/gotop { };
|
||||
|
||||
|
|
Loading…
Reference in a new issue