about summary refs log tree commit diff
path: root/tools/nixery/server/go-deps.nix
diff options
context:
space:
mode:
authorVincent Ambo <tazjin@google.com>2019-10-04T21·17+0100
committerVincent Ambo <github@tazj.in>2019-10-06T22·05+0100
commitf4bf3518f63501ddff42592b255fd5feaf846863 (patch)
treefcd731e62f3829f2952a40749bea87da76ee7665 /tools/nixery/server/go-deps.nix
parentd9b329ef59e35ae6070eae867cf06a5230ae3d51 (diff)
refactor(server): Replace log calls with logrus
This introduces a structured logging library that can be used (next
step) to attach additional metadata to log entries.
Diffstat (limited to 'tools/nixery/server/go-deps.nix')
-rw-r--r--tools/nixery/server/go-deps.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/nixery/server/go-deps.nix b/tools/nixery/server/go-deps.nix
index 7c40c6dde0f1..847b44dce63c 100644
--- a/tools/nixery/server/go-deps.nix
+++ b/tools/nixery/server/go-deps.nix
@@ -117,4 +117,13 @@
       sha256 = "1b7q6haabnp53igpmvr6a2414yralhbrldixx4kbxxg1apy8jdjg";
     };
   }
+  {
+    goPackagePath = "github.com/sirupsen/logrus";
+    fetch = {
+      type = "git";
+      url = "https://github.com/sirupsen/logrus";
+      rev = "de736cf91b921d56253b4010270681d33fdf7cb5";
+      sha256 = "1qixss8m5xy7pzbf0qz2k3shjw0asklm9sj6zyczp7mryrari0aj";
+    };
+  }
 ]