about summary refs log tree commit diff
path: root/lib
diff options
context:
space:
mode:
authorFranck Cuny <franck@fcuny.net>2022-05-30 14:30:20 -0700
committerFranck Cuny <franck@fcuny.net>2022-06-04 15:25:58 -0700
commit8ffc4eadd86fb358ff5d8c3efa4a0f295aa26b38 (patch)
tree88287cdf74bb199d4537d93c5fb1f7db700fdbc1 /lib
parentfeat(gerrit-hook): a small tool to act as a dispatcher for gerrit (diff)
downloadworld-8ffc4eadd86fb358ff5d8c3efa4a0f295aa26b38.tar.gz
feat(gerrit-hook): add gerrit-hook to the overlays
So that we can build and install it.

Change-Id: I1f732ceb7be2e9cca625819562f5baed5e131f85
Reviewed-on: https://cl.fcuny.net/c/world/+/181
Reviewed-by: Franck Cuny <franck@fcuny.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/default.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/default.nix b/lib/default.nix
index 4331bf3..595e119 100644
--- a/lib/default.nix
+++ b/lib/default.nix
@@ -22,6 +22,11 @@
             overlays = [
               inputs.emacs-overlay.overlay
               inputs.nur.overlay
+              (final: prev: {
+                tools = {
+                  gerrit-hook = import ../tools/gerrit-hook final;
+                };
+              })
             ];
           };
           # Add each input as a registry