refactor(build): Pin dependencies using Go modules

Drops the go2nix configuration in favour of pkgs.buildGoModule.

Note that the go.sum file is bloated by issues with cyclic
dependencies in some Google projects, but this large number of
dependencies is not actually built.
This commit is contained in:
Vincent Ambo 2021-04-30 12:56:36 +02:00 committed by Vincent Ambo
parent 5c2db7b8ce
commit 13d97c9e51
5 changed files with 553 additions and 164 deletions

11
tools/nixery/go.mod Normal file
View file

@ -0,0 +1,11 @@
module github.com/google/nixery
go 1.15
require (
cloud.google.com/go/storage v1.15.0
github.com/google/go-cmp v0.5.5
github.com/sirupsen/logrus v1.8.1
golang.org/x/oauth2 v0.0.0-20210427180440-81ed05c6b58c
gonum.org/v1/gonum v0.9.1
)