about summary refs log tree commit diff
path: root/third_party/gopkgs/golang.org/x/net/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'third_party/gopkgs/golang.org/x/net/default.nix')
-rw-r--r--third_party/gopkgs/golang.org/x/net/default.nix6
1 files changed, 4 insertions, 2 deletions
diff --git a/third_party/gopkgs/golang.org/x/net/default.nix b/third_party/gopkgs/golang.org/x/net/default.nix
index 899600dab017..9a8fef694857 100644
--- a/third_party/gopkgs/golang.org/x/net/default.nix
+++ b/third_party/gopkgs/golang.org/x/net/default.nix
@@ -1,10 +1,12 @@
-{ depot, ... }:
+{ depot, pkgs, ... }:
 
 depot.nix.buildGo.external {
   path = "golang.org/x/net";
-  src = builtins.fetchGit {
+
+  src = pkgs.fetchgit {
     url = "https://go.googlesource.com/net";
     rev = "c0dbc17a35534bf2e581d7a942408dc936316da4";
+    hash = "sha256:1f1xqh2cvr629fkg9n9k347vf6g91jkrsmgmy8hlqdrq163blb54";
   };
 
   deps = with depot.third_party; [