diff options
Diffstat (limited to 'third_party/gopkgs/github.com/golang')
-rw-r--r-- | third_party/gopkgs/github.com/golang/groupcache/default.nix | 4 | ||||
-rw-r--r-- | third_party/gopkgs/github.com/golang/protobuf/default.nix | 7 |
2 files changed, 4 insertions, 7 deletions
diff --git a/third_party/gopkgs/github.com/golang/groupcache/default.nix b/third_party/gopkgs/github.com/golang/groupcache/default.nix index 2dfa1241e9c1..8c0a639a320a 100644 --- a/third_party/gopkgs/github.com/golang/groupcache/default.nix +++ b/third_party/gopkgs/github.com/golang/groupcache/default.nix @@ -1,6 +1,6 @@ -{ pkgs, ... }: +{ depot, ... }: -pkgs.buildGo.external { +depot.buildGo.external { path = "github.com/golang/groupcache"; src = builtins.fetchGit { url = "https://github.com/golang/groupcache"; diff --git a/third_party/gopkgs/github.com/golang/protobuf/default.nix b/third_party/gopkgs/github.com/golang/protobuf/default.nix index f1c54cd496eb..3a405181b25c 100644 --- a/third_party/gopkgs/github.com/golang/protobuf/default.nix +++ b/third_party/gopkgs/github.com/golang/protobuf/default.nix @@ -1,12 +1,9 @@ -{ pkgs, ... }: +{ depot, ... }: -pkgs.buildGo.external { +depot.buildGo.external { path = "github.com/golang/protobuf"; src = builtins.fetchGit { url = "https://github.com/golang/protobuf"; rev = "ed6926b37a637426117ccab59282c3839528a700"; }; - - deps = with pkgs.third_party; [ - ]; } |