about summary refs log tree commit diff
path: root/nix/buildGo
diff options
context:
space:
mode:
Diffstat (limited to 'nix/buildGo')
-rw-r--r--nix/buildGo/proto.nix2
1 files changed, 2 insertions, 0 deletions
diff --git a/nix/buildGo/proto.nix b/nix/buildGo/proto.nix
index 57e9a5ec98..4bd3a57276 100644
--- a/nix/buildGo/proto.nix
+++ b/nix/buildGo/proto.nix
@@ -52,6 +52,8 @@ in rec {
     path = "google.golang.org/genproto";
     src = fetchGit {
       url = "https://github.com/google/go-genproto";
+      # necessary because https://github.com/NixOS/nix/issues/1923
+      ref = "main";
       rev = "83cc0476cb11ea0da33dacd4c6354ab192de6fe6";
     };