From f7dc354f427b792f50e2fb647a26a7ca0347f16a Mon Sep 17 00:00:00 2001
From: Roman Volosatovs <rvolosatovs@riseup.net>
Date: Fri, 21 Sep 2018 09:42:38 +0200
Subject: [PATCH] go: Fix package example

---
 modules/programs/go.nix | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/programs/go.nix b/modules/programs/go.nix
index d1817ae26..bccf7c9a2 100644
--- a/modules/programs/go.nix
+++ b/modules/programs/go.nix
@@ -27,7 +27,8 @@ in
         default = {};
         example = literalExample ''
           {
-            "golang.org/x/time/rate" = builtins.fetchGit "https://go.googlesource.com/text";
+            "golang.org/x/text" = builtins.fetchGit "https://go.googlesource.com/text";
+            "golang.org/x/time" = builtins.fetchGit "https://go.googlesource.com/time";
           }
         '';
         description = "Packages to add to GOPATH.";