about summary refs log tree commit diff
path: root/ops/nixos
diff options
context:
space:
mode:
authorVincent Ambo <mail@tazj.in>2020-06-13T05·11+0100
committertazjin <mail@tazj.in>2020-06-13T05·15+0000
commit9d01000257dfc8615fb083b1064205fd92451825 (patch)
tree53f37d5895a52567aa1d1f5adb1ba1806598b00e /ops/nixos
parent665f131dda5049fc7a7887cdef5fe0d20eb01146 (diff)
fix(monorepo-gerrit): Do not place hooks in $out/bin r/934
Gerrit does not expect a bin/ there.

Change-Id: I907f96690b8c6bb614dc11889712d7b122c5d5cf
Reviewed-on: https://cl.tvl.fyi/c/depot/+/181
Reviewed-by: tazjin <mail@tazj.in>
Diffstat (limited to 'ops/nixos')
-rw-r--r--ops/nixos/modules/monorepo-gerrit.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/ops/nixos/modules/monorepo-gerrit.nix b/ops/nixos/modules/monorepo-gerrit.nix
index a5ba6c6844cd..5e71a60c5c0a 100644
--- a/ops/nixos/modules/monorepo-gerrit.nix
+++ b/ops/nixos/modules/monorepo-gerrit.nix
@@ -4,8 +4,8 @@
 let
   cfg = config.services.gerrit;
   gerritHooks = pkgs.runCommandNoCC "gerrit-hooks" {} ''
-    mkdir -p $out/bin
-    ln -s ${config.depot.ops.besadii}/bin/besadii $out/bin/ref-updated
+    mkdir -p $out
+    ln -s ${config.depot.ops.besadii}/bin/besadii $out/ref-updated
   '';
 in {
   services.gerrit = {