chore(3p/gopkgs): 'depot.buildGo' -> 'depot.nix.buildGo'

This makes it possible to deprecate the previous alias.

Change-Id: I6efe73a21dc771cfa28094bbac434a188aebfd45
Reviewed-on: https://cl.tvl.fyi/c/depot/+/2647
Tested-by: BuildkiteCI
Reviewed-by: sterni <sternenseemann@systemli.org>
This commit is contained in:
Vincent Ambo 2021-03-24 01:19:17 +02:00 committed by tazjin
parent 580d8fc37c
commit 3842c184b6
31 changed files with 31 additions and 31 deletions

View file

@ -1,6 +1,6 @@
{ depot, pkgs, ... }: { depot, pkgs, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "cloud.google.com/go"; path = "cloud.google.com/go";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://code.googlesource.com/gocloud"; url = "https://code.googlesource.com/gocloud";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/cenkalti/backoff/v4"; path = "github.com/cenkalti/backoff/v4";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/davecgh/go-spew"; path = "github.com/davecgh/go-spew";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {
owner = "davecgh"; owner = "davecgh";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/emirpasic/gods"; path = "github.com/emirpasic/gods";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/golang/glog"; path = "github.com/golang/glog";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {
owner = "golang"; owner = "golang";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/golang/groupcache"; path = "github.com/golang/groupcache";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/golang/groupcache"; url = "https://github.com/golang/groupcache";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/golang/protobuf"; path = "github.com/golang/protobuf";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/golang/protobuf"; url = "https://github.com/golang/protobuf";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/google/uuid"; path = "github.com/google/uuid";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -3,7 +3,7 @@
let let
inherit (depot) buildGo; inherit (depot) buildGo;
inherit (builtins) fetchGit; inherit (builtins) fetchGit;
in depot.buildGo.external { in depot.nix.buildGo.external {
path = "github.com/googleapis/gax-go"; path = "github.com/googleapis/gax-go";
src = fetchGit { src = fetchGit {
url = "https://github.com/googleapis/gax-go"; url = "https://github.com/googleapis/gax-go";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/hashicorp/golang-lru"; path = "github.com/hashicorp/golang-lru";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/hashicorp/golang-lru"; url = "https://github.com/hashicorp/golang-lru";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/jbenet/go-context"; path = "github.com/jbenet/go-context";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/kevinburke/ssh_config"; path = "github.com/kevinburke/ssh_config";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/mitchellh/go-homedir"; path = "github.com/mitchellh/go-homedir";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/pkg/browser"; path = "github.com/pkg/browser";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/sergi/go-diff"; path = "github.com/sergi/go-diff";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/src-d/gcfg"; path = "github.com/src-d/gcfg";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "github.com/xanzy/ssh-agent"; path = "github.com/xanzy/ssh-agent";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "go.opencensus.io"; path = "go.opencensus.io";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/census-instrumentation/opencensus-go"; url = "https://github.com/census-instrumentation/opencensus-go";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/crypto"; path = "golang.org/x/crypto";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://go.googlesource.com/crypto"; url = "https://go.googlesource.com/crypto";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/net"; path = "golang.org/x/net";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://go.googlesource.com/net"; url = "https://go.googlesource.com/net";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/oauth2"; path = "golang.org/x/oauth2";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://go.googlesource.com/oauth2"; url = "https://go.googlesource.com/oauth2";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/sys"; path = "golang.org/x/sys";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://go.googlesource.com/sys"; url = "https://go.googlesource.com/sys";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/text"; path = "golang.org/x/text";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://go.googlesource.com/text"; url = "https://go.googlesource.com/text";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "golang.org/x/time"; path = "golang.org/x/time";
src = builtins.fetchGit { src = builtins.fetchGit {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "google.golang.org/api"; path = "google.golang.org/api";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://code.googlesource.com/google-api-go-client"; url = "https://code.googlesource.com/google-api-go-client";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "google.golang.org/genproto"; path = "google.golang.org/genproto";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/google/go-genproto"; url = "https://github.com/google/go-genproto";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "google.golang.org/grpc"; path = "google.golang.org/grpc";
src = builtins.fetchGit { src = builtins.fetchGit {
url = "https://github.com/grpc/grpc-go"; url = "https://github.com/grpc/grpc-go";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "gopkg.in/irc.v3"; path = "gopkg.in/irc.v3";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "gopkg.in/src-d/go-billy.v4"; path = "gopkg.in/src-d/go-billy.v4";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
# .v4 is used throughout the codebase and I can't be bothered to do # .v4 is used throughout the codebase and I can't be bothered to do
# anything else about it other than using that package path here. # anything else about it other than using that package path here.
path = "gopkg.in/src-d/go-git.v4"; path = "gopkg.in/src-d/go-git.v4";

View file

@ -1,6 +1,6 @@
{ depot, ... }: { depot, ... }:
depot.buildGo.external { depot.nix.buildGo.external {
path = "gopkg.in/warnings.v0"; path = "gopkg.in/warnings.v0";
src = depot.third_party.fetchFromGitHub { src = depot.third_party.fetchFromGitHub {